Fix a compile error

This commit is contained in:
Rob Campbell
2009-01-04 20:33:15 +00:00
parent b4c7ab6eb9
commit be4eef5e05
+1 -1
View File
@@ -67,7 +67,7 @@ static int LoadInt(LoadState* S)
LoadVar(S,x);
if (S->flip)
x = Swap32(x);
IF ((int32_t)x<0, "bad integer");
if ((uint32_t)x<0, "bad integer");
return x;
}