diff --git a/stepmania/src/lua-5.1/src/lundump.c b/stepmania/src/lua-5.1/src/lundump.c index f1fe7e54c8..5d9f2b7179 100644 --- a/stepmania/src/lua-5.1/src/lundump.c +++ b/stepmania/src/lua-5.1/src/lundump.c @@ -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; }