|
> > #define luaL_checkunsigned luaL_checkint > > That looks nasty. Would that not cause problems? Lazy, yes. Nasty, no. :-) Fortunately, luaL_checkunsigned is used in lmathlib.c only in math_randomseed when calling srand and for that any bit pattern works fine...