The expected arguments time and size are returned as int. This patch
fix this bug and returns the expected type.
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: