aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lundump.c b/lundump.c
index 1a5c3ab3..b0c31c78 100644
--- a/lundump.c
+++ b/lundump.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.c,v 2.35 2014/03/27 15:58:05 roberto Exp roberto $ 2** $Id: lundump.c,v 2.36 2014/04/01 14:39:55 roberto Exp roberto $
3** load precompiled Lua chunks 3** load precompiled Lua chunks
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -126,7 +126,7 @@ static void LoadConstants (LoadState *S, Proto *f) {
126 setbvalue(o, LoadByte(S)); 126 setbvalue(o, LoadByte(S));
127 break; 127 break;
128 case LUA_TNUMFLT: 128 case LUA_TNUMFLT:
129 setnvalue(o, LoadNumber(S)); 129 setfltvalue(o, LoadNumber(S));
130 break; 130 break;
131 case LUA_TNUMINT: 131 case LUA_TNUMINT:
132 setivalue(o, LoadInteger(S)); 132 setivalue(o, LoadInteger(S));