diff options
Diffstat (limited to 'src/tests/hs_parse_overloaded_tests.c')
-rw-r--r-- | src/tests/hs_parse_overloaded_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/hs_parse_overloaded_tests.c b/src/tests/hs_parse_overloaded_tests.c index 784807a..3c327cb 100644 --- a/src/tests/hs_parse_overloaded_tests.c +++ b/src/tests/hs_parse_overloaded_tests.c @@ -10,7 +10,7 @@ static int testfunc(lua_State *L) { return 0; } */ #define PARSE_OVERLOADED \ - bool b; long int i; int ti, fi, ni; double f; \ + bool b; lua_Integer i; int ti, fi, ni; lua_Number f; \ char *str; lua_CFunction fn; void *user, *light; \ int choice = hs_parse_overloaded \ (L, \ @@ -124,7 +124,7 @@ TEST(parse_2_3_overload_0) { lua_pushinteger(L, 69); lua_pushstring(L, "foo"); - long int i; char *str; void *data; + lua_Integer i; char *str; void *data; int choice = hs_parse_overloaded (L, hs_overload(hs_int(i), hs_str(str)), @@ -141,7 +141,7 @@ TEST(parse_2_3_overload_1) lua_pushinteger(L, 69); lua_pushstring(L, "foo"); void *userdata = lua_newuserdata(L, sizeof(char)); - long int i; char *str; void *data; + lua_Integer i; char *str; void *data; int choice = hs_parse_overloaded (L, hs_overload(hs_int(i), hs_str(str)), |