diff options
-rw-r--r-- | lobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 2.53 2011/07/27 12:13:08 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.54 2011/11/30 12:44:26 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -33,7 +33,7 @@ LUAI_DDEF const TValue luaO_nilobject_ = {NILCONSTANT}; | |||
33 | ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if | 33 | ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if |
34 | ** eeeee != 0 and (xxx) otherwise. | 34 | ** eeeee != 0 and (xxx) otherwise. |
35 | */ | 35 | */ |
36 | int luaO_int2fb (lu_int32 x) { | 36 | int luaO_int2fb (unsigned int x) { |
37 | int e = 0; /* exponent */ | 37 | int e = 0; /* exponent */ |
38 | if (x < 8) return x; | 38 | if (x < 8) return x; |
39 | while (x >= 0x10) { | 39 | while (x >= 0x10) { |