<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39374 >
> [evyscr - Lun. Sep. 03 08:33:35 2007]: > > On Sat, 1 Sep 2007 Pepeto _ wrote: > > > > > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39644 > > > > > > [pepeto - Ven. Aoû. 31 18:25:43 2007]: > > > I always got this too, but it's not new: > > > ltable.c: In function «luaH_mainposition": > > > ltable.c:108: attention : transtypage d'un pointeur vers un entier de > > > taille différente > > > ltable.c:110: attention : transtypage d'un pointeur vers un entier de > > > taille différente > > I use following: > $ cat s2_1-lua-x86_64.diff > 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 */ > $ > > In theory, it may causes troubles, but I don't have them (yet). And I didn't > test tutorial... > > Is it really prudent to modify the code of the dependencies? Anyway, it's only a warning, and it doesn't make me crash whereas freeciv S2_1 does :) _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev