mirror of
https://github.com/lua/lua
synced 2025-01-07 18:12:00 +03:00
function prototype did not match one in .h
This commit is contained in:
parent
f1d2ac3a98
commit
7377fbdebc
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lobject.c,v 2.53 2011/07/27 12:13:08 roberto Exp roberto $
|
||||
** $Id: lobject.c,v 2.54 2011/11/30 12:44:26 roberto Exp roberto $
|
||||
** Some generic functions over Lua objects
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -33,7 +33,7 @@ LUAI_DDEF const TValue luaO_nilobject_ = {NILCONSTANT};
|
||||
** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if
|
||||
** eeeee != 0 and (xxx) otherwise.
|
||||
*/
|
||||
int luaO_int2fb (lu_int32 x) {
|
||||
int luaO_int2fb (unsigned int x) {
|
||||
int e = 0; /* exponent */
|
||||
if (x < 8) return x;
|
||||
while (x >= 0x10) {
|
||||
|
Loading…
Reference in New Issue
Block a user