Re: [Freeciv-Dev] Server hangs on an Alpha
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Matthew OConnor wrote:
> There seems to be a lot of long ints used. Sometimes I wonder why.
> I don't know the source well enough to know if it is required in some
> locations. But there is a comment at line 1121 of mapgen.c that says
> this:
>
> static long int tilefactor, balance, lastplaced;/* int may be only 2 byte !
> */
>
> So that makes me wonder. Are longs just used b/c you want FreeCiv to
> run on machines that have 2 byte ints?
Freeciv requires 32 bit (4 byte) ints in lots of places, so that
comment makes no sense to me. And on most systems which freeciv
works on, the expression (sizeof(int) == sizeof(long int)) is true,
so the use of long ints seems quite unnecessary.
-- David
- [Freeciv-Dev] Server hangs on an Alpha, (continued)
- [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/28
- Re: [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/28
- Re: [Freeciv-Dev] Server hangs on an Alpha, Matthew OConnor, 1999/07/28
- Re: [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/28
- Re: [Freeciv-Dev] Server hangs on an Alpha, Rizos Sakellariou, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha, Matthew OConnor, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha, Nicolas Brunel, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha, David Pfitzner, 1999/07/29
- Re: [Freeciv-Dev] Server hangs on an Alpha,
David Pfitzner <=
Re: [Freeciv-Dev] Server hangs on an Alpha, Peter Schaefer, 1999/07/29
|
|