aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index 7e573f02..7f240580 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.150 2018/01/18 16:24:31 roberto Exp roberto $ 2** $Id: lcode.c,v 2.151 2018/01/27 16:56:33 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -545,7 +545,7 @@ int luaK_stringK (FuncState *fs, TString *s) {
545*/ 545*/
546static int luaK_intK (FuncState *fs, lua_Integer n) { 546static int luaK_intK (FuncState *fs, lua_Integer n) {
547 TValue k, o; 547 TValue k, o;
548 setpvalue(&k, cast(void*, cast(size_t, n))); 548 setpvalue(&k, cast_voidp(cast_sizet(n)));
549 setivalue(&o, n); 549 setivalue(&o, n);
550 return addk(fs, &k, &o); 550 return addk(fs, &k, &o);
551} 551}