summaryrefslogtreecommitdiff
path: root/src/luac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/luac.c')
-rw-r--r--src/luac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luac.c b/src/luac.c
index 43c3d0d6..7a7b230f 100644
--- a/src/luac.c
+++ b/src/luac.c
@@ -202,7 +202,7 @@ int main(int argc, char* argv[])
return EXIT_SUCCESS;
}
-#define nvalue(x) 0
+#define nvalue(x) ((lua_Number)0)
#define ttypenv(x) ttnov(x)
/*
** $Id: print.c,v 1.69 2013/07/04 01:03:46 lhf Exp $