Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: New Patch
Home

[Freeciv-Dev] Re: New Patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "freeciv-dev@xxxxxxxxxxx" <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: New Patch
From: "Alexander Mai" <st002279@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Feb 2002 18:29:00 +0100 (CET)
Reply-to: "Alexander Mai" <st002279@xxxxxxxxxxxxxxxxxxxxxx>

On Wed, 6 Feb 2002 18:21:09 +0100, Raimar Falke wrote:

>
>Why can't size_t be casted to int?

Didn't check the spec, but given that "similar" interfaces
dealing with large objects use size_t may indicate
that the upper limit is above MAXINT.
And given lack of any such knowledge casting to the
"bigger" type in existence (long instead of int) seems
to be on the safe side.


---
Alexander Mai
st002279@xxxxxxxxxxxxxxxxxxxxxx




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