aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2015-02-16 09:02:10 +0100
committerPhilipp Janda <siffiejoe@gmx.net>2015-02-16 09:02:10 +0100
commit1ef13c71326bf2446cbe0f581457523f50d5cfa4 (patch)
tree612ea21e36137cd91db92c1d95e7eee1ebc07192
parent893bac7a0dbb6aab8216eab45188050f52937290 (diff)
downloadlua-compat-5.3-1ef13c71326bf2446cbe0f581457523f50d5cfa4.tar.gz
lua-compat-5.3-1ef13c71326bf2446cbe0f581457523f50d5cfa4.tar.bz2
lua-compat-5.3-1ef13c71326bf2446cbe0f581457523f50d5cfa4.zip
remove spurious (void*) cast
-rw-r--r--c-api/compat-5.3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c-api/compat-5.3.c b/c-api/compat-5.3.c
index 599094d..4cf7e25 100644
--- a/c-api/compat-5.3.c
+++ b/c-api/compat-5.3.c
@@ -97,7 +97,7 @@ COMPAT53_API int lua_compare (lua_State *L, int idx1, int idx2, int op) {
97 idx2 = lua_absindex(L, idx2); 97 idx2 = lua_absindex(L, idx2);
98 lua_pushvalue(L, idx1); 98 lua_pushvalue(L, idx1);
99 lua_pushvalue(L, idx2); 99 lua_pushvalue(L, idx2);
100 compat53_call_lua(L, (void*)compat53_compare_code, 100 compat53_call_lua(L, compat53_compare_code,
101 sizeof(compat53_compare_code)-1, 2, 1); 101 sizeof(compat53_compare_code)-1, 2, 1);
102 result = lua_toboolean(L, -1); 102 result = lua_toboolean(L, -1);
103 lua_pop(L, 1); 103 lua_pop(L, 1);