diff --git a/src/nc/core/ir/cgen/CodeGenerator.cpp b/src/nc/core/ir/cgen/CodeGenerator.cpp index cae523dde..e7efdce31 100644 --- a/src/nc/core/ir/cgen/CodeGenerator.cpp +++ b/src/nc/core/ir/cgen/CodeGenerator.cpp @@ -150,7 +150,7 @@ const likec::StructType *CodeGenerator::makeStructuralType(const types::Type *ty tree_.makeArrayType(tree_.makeIntegerType(CHAR_BIT, false), offsetValue - type->size() / CHAR_BIT))); } typeDeclaration->type()->addMember(std::make_unique( - QString("0x%1").arg(offsetValue, 0, 16), makeType(offsetType->pointee()))); + QString("f%1").arg(offsetValue, 0, 16), makeType(offsetType->pointee()))); } }