<URL: http://bugs.freeciv.org/Ticket/Display.html?id=37596 >
> [cazfi74 - Mon Mar 05 19:49:42 2007]: > > --enable-debug cannot be used at 64bit system, since: > > ../../../../src.patched/dependencies/lua/src/ltable.c: In function > 'luaH_mainposition':../../../../src.patched/dependencies/lua/src/ltable.c:108: > warning: cast from pointer to integer of different size > ../../../../src.patched/dependencies/lua/src/ltable.c:110: warning: > cast from pointer to integer of different size If this have any sense - see attached patch. Works for me. PS. This is also a test of how RT works now through web interface. PPS. We have several tickets with same error. -- Thanks, evyscr
Index: dependencies/lua/src/llimits.h =================================================================== --- dependencies/lua/src/llimits.h (revision 13411) +++ dependencies/lua/src/llimits.h (working copy) @@ -41,9 +41,9 @@ */ /* an unsigned integer to hold hash values */ -typedef unsigned int lu_hash; +typedef unsigned long lu_hash; /* its signed equivalent */ -typedef int ls_hash; +typedef long ls_hash; /* an unsigned integer big enough to count the total memory used by Lua; */ /* it should be at least as large as size_t */
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev