015-lnum-ppc-compat.patch 286 B

1234567891011
  1. --- a/src/lua.h
  2. +++ b/src/lua.h
  3. @@ -79,7 +79,7 @@ typedef void * (*lua_Alloc) (void *ud, v
  4. * not acceptable for 5.1, maybe 5.2 onwards?
  5. * 9: greater than existing (5.1) type values.
  6. */
  7. -#define LUA_TINT (-2)
  8. +#define LUA_TINT 9
  9. #define LUA_TNIL 0
  10. #define LUA_TBOOLEAN 1