lua

A copy of the Lua development repository
Log | Files | Refs | README

commit b63b0928cf22073a04be16c7376f2be255c4cc96
parent 511679313f2c380ef86527e638663bf562083289
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  7 Jan 2011 13:46:03 -0200

prototype for 'luaO_ceillog2' was different from definition

Diffstat:
Mlobject.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lobject.h b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.44 2010/12/06 21:08:36 roberto Exp roberto $ +** $Id: lobject.h,v 2.45 2010/12/10 14:53:15 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -409,7 +409,7 @@ LUAI_DDEC const TValue luaO_nilobject_; LUAI_FUNC int luaO_int2fb (unsigned int x); LUAI_FUNC int luaO_fb2int (int x); -LUAI_FUNC int luaO_ceillog2 (lu_int32 x); +LUAI_FUNC int luaO_ceillog2 (unsigned int x); LUAI_FUNC lua_Number luaO_arith (int op, lua_Number v1, lua_Number v2); LUAI_FUNC int luaO_rawequalObj (const TValue *t1, const TValue *t2); LUAI_FUNC int luaO_str2d (const char *s, size_t len, lua_Number *result);