Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#12012) packets.c compile warnings - signedness
Home

[Freeciv-Dev] (PR#12012) packets.c compile warnings - signedness

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12012) packets.c compile warnings - signedness
From: "Brett Albertson" <brett.albertson@xxxxxxxxxxxx>
Date: Tue, 25 Jan 2005 14:00:41 -0800
Reply-to: bugs@xxxxxxxxxxx

<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.

-- 
Brett Albertson




[Prev in Thread] Current Thread [Next in Thread]