[Freeciv-Dev] (PR#12012) packets.c compile warnings - signedness
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12012 >
> [bretta - Tue Jan 25 21:24:19 2005]:
> I think the old big-endian little-endian conversion strikes again!
On second thought, after looking at it, it may simply be a cast from
signed long to unsigned long. I'm not sure what happens if a negative
number gets cast in that manner. It may or may not be dangerous.