diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-30 17:30:16 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-30 17:30:16 -0200 |
commit | 7377fbdebc1e53e4c1545b18054f6b2e5257f2f8 (patch) | |
tree | 1e4e9a2580e543c7dfe1fc9cd02a628f8b289af7 | |
parent | f1d2ac3a98b1225d9b086c46c60f3d2cd7e56cf7 (diff) | |
download | lua-7377fbdebc1e53e4c1545b18054f6b2e5257f2f8.tar.gz lua-7377fbdebc1e53e4c1545b18054f6b2e5257f2f8.tar.bz2 lua-7377fbdebc1e53e4c1545b18054f6b2e5257f2f8.zip |
function prototype did not match one in .h
-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) { |