BUG/MINOR: lua: type error in the arguments wrapper
The expected arguments time and size are returned as int. This patch
fix this bug and returns the expected type.
diff --git a/src/hlua.c b/src/hlua.c
index 026dd2f..a5df204 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -619,13 +619,13 @@
case ARGT_TIME:
if (argp[idx].type != ARGT_SINT)
WILL_LJMP(luaL_argerror(L, first + idx, "integer expected"));
- argp[idx].type = ARGT_SINT;
+ argp[idx].type = ARGT_TIME;
break;
case ARGT_SIZE:
if (argp[idx].type != ARGT_SINT)
WILL_LJMP(luaL_argerror(L, first + idx, "integer expected"));
- argp[idx].type = ARGT_SINT;
+ argp[idx].type = ARGT_SIZE;
break;
case ARGT_FE: