mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Oops
This commit is contained in:
parent
d21954bac9
commit
db1e7dfd71
1 changed files with 1 additions and 1 deletions
|
@ -10330,7 +10330,7 @@ void BfExprEvaluator::Visit(BfObjectCreateExpression* objCreateExpr)
|
|||
dimLength = mModule->CreateValueFromExpression(expr, intType, BfEvalExprFlags_NoCast);
|
||||
|
||||
BfCastFlags castFlags = BfCastFlags_None;
|
||||
if (dimLength.mType->IsInteger())
|
||||
if ((dimLength) && (dimLength.mType->IsInteger()))
|
||||
{
|
||||
// Allow uint for size - just force to int
|
||||
if (!((BfPrimitiveType*)dimLength.mType)->IsSigned())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue