aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lobject.c b/lobject.c
index b558cfe0..763b4846 100644
--- a/lobject.c
+++ b/lobject.c
@@ -87,7 +87,7 @@ lu_byte luaO_codeparam (unsigned int p) {
87** overflow, so we check which order is best. 87** overflow, so we check which order is best.
88*/ 88*/
89l_mem luaO_applyparam (lu_byte p, l_mem x) { 89l_mem luaO_applyparam (lu_byte p, l_mem x) {
90 unsigned int m = p & 0xF; /* mantissa */ 90 int m = p & 0xF; /* mantissa */
91 int e = (p >> 4); /* exponent */ 91 int e = (p >> 4); /* exponent */
92 if (e > 0) { /* normalized? */ 92 if (e > 0) { /* normalized? */
93 e--; /* correct exponent */ 93 e--; /* correct exponent */