aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index 2d8475b3..92c28144 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.22 2006/02/10 17:43:52 roberto Exp roberto $ 2** $Id: lobject.c,v 2.23 2006/07/11 15:53:29 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 @@ const TValue luaO_nilobject_ = {{NULL}, LUA_TNIL};
33** eeeee != 0 and (xxx) otherwise. 33** eeeee != 0 and (xxx) otherwise.
34*/ 34*/
35int luaO_int2fb (unsigned int x) { 35int luaO_int2fb (unsigned int x) {
36 int e = 0; /* expoent */ 36 int e = 0; /* exponent */
37 if (x < 8) return x; 37 if (x < 8) return x;
38 while (x >= 0x10) { 38 while (x >= 0x10) {
39 x = (x+1) >> 1; 39 x = (x+1) >> 1;