Use enum literal instead of constant

This commit is contained in:
Kai Nacke
2013-11-26 07:56:50 +01:00
parent a81a98cb30
commit 7f017608a8
5 changed files with 5 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ IrTypeStruct* IrTypeStruct::get(StructDeclaration* sd)
LOG_SCOPE;
// if it's a forward declaration, all bets are off, stick with the opaque
if (sd->sizeok != 1)
if (sd->sizeok != SIZEOKdone)
return t;
// TODO:: Somehow merge this with IrAggr::createInitializerConstant, or