aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt period germain arrobase gmail period com>2016-11-21 14:29:36 +0100
committerBenoit Germain <bnt period germain arrobase gmail period com>2016-11-21 14:29:36 +0100
commiteec92f309d2b0c24946e0aebffabd80a91594840 (patch)
tree9b355e3e1e9f8222ceb153168b1398f12095b8e2 /src/compat.h
parent295ba159356050037419cbdb5ba1d1e3362ce391 (diff)
downloadlanes-eec92f309d2b0c24946e0aebffabd80a91594840.tar.gz
lanes-eec92f309d2b0c24946e0aebffabd80a91594840.tar.bz2
lanes-eec92f309d2b0c24946e0aebffabd80a91594840.zip
Fix 64 bits compilation warnings
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 6048974..998edef 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -43,6 +43,7 @@ void luaL_requiref (lua_State* L, const char* modname, lua_CFunction openf, int
43#endif // lua_lessthan 43#endif // lua_lessthan
44#define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0) 44#define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0)
45#define lua503_dump lua_dump 45#define lua503_dump lua_dump
46#define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d)))
46#endif // LUA_VERSION_NUM == 503 47#endif // LUA_VERSION_NUM == 503
47 48
48#endif // __COMPAT_H__ 49#endif // __COMPAT_H__