summaryrefslogtreecommitdiff
path: root/tests/C/lua_pushnumber.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/C/lua_pushnumber.c')
-rw-r--r--tests/C/lua_pushnumber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/C/lua_pushnumber.c b/tests/C/lua_pushnumber.c
index eca2564..697258f 100644
--- a/tests/C/lua_pushnumber.c
+++ b/tests/C/lua_pushnumber.c
@@ -10,7 +10,7 @@ int main(void) {
luaL_openlibs(L);
- lua_pushnumber(L, 10);
+ lua_pushnumber(L, 10.5);
printf("L->top(%d): %s\n", lua_gettop(L), luaL_typename(L, lua_gettop(L)));