summaryrefslogtreecommitdiff
path: root/iup/srclua5/il_spinbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'iup/srclua5/il_spinbox.c')
-rwxr-xr-xiup/srclua5/il_spinbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iup/srclua5/il_spinbox.c b/iup/srclua5/il_spinbox.c
index 2f044fb..9a53574 100755
--- a/iup/srclua5/il_spinbox.c
+++ b/iup/srclua5/il_spinbox.c
@@ -15,7 +15,7 @@
static int spinbox_spin_cb(Ihandle *self, int p0)
{
lua_State *L = iuplua_call_start(self, "spin_cb");
- lua_pushnumber(L, p0);
+ lua_pushinteger(L, p0);
return iuplua_call(L, 1);
}