mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
NextId fix
This commit is contained in:
parent
0cf3e2283d
commit
7063959762
1 changed files with 1 additions and 1 deletions
|
@ -14617,7 +14617,7 @@ BfTypedValue BfModule::GetCompilerFieldValue(const StringImpl& str)
|
|||
}
|
||||
if (str == "#NextId")
|
||||
{
|
||||
return BfTypedValue(mBfIRBuilder->CreateConst(BfTypeCode_Int64, ++mCompiler->mUniqueId), GetPrimitiveType(BfTypeCode_Int32));
|
||||
return BfTypedValue(mBfIRBuilder->CreateConst(BfTypeCode_Int64, (uint64)++mCompiler->mUniqueId), GetPrimitiveType(BfTypeCode_Int32));
|
||||
}
|
||||
if (str == "#ModuleName")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue