Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9689) Patch: quash warnings in client/text.c
Home

[Freeciv-Dev] (PR#9689) Patch: quash warnings in client/text.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#9689) Patch: quash warnings in client/text.c
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Aug 2004 17:52:44 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9689 >

Another alternative is to cast the size_t values as integers.  This
_may_ be more portable since I'm not sure if %lu is guaranteed to be the
same as size_t on all platforms.  I looked at the printf manual once and
it claimed a special character for size_t (like %lz or something), but
when I looked deeper I found this is not portable at all.

jason



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