[Freeciv-Dev] Re: New Patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 6 Feb 2002 12:41:19 +0100, Raimar Falke wrote:
>On Wed, Feb 06, 2002 at 12:08:50PM +0100, Alexander Mai wrote:
>> Hello,
>>
>> the attached patch
>>
>> - has the still missing OS/2 patch for the server
>
>> - fixes warnings of kind
>> cma_core.c:1701: warning: int format, long int arg (arg 3)
>> in the given file
>
>> - freelog(LOG_DEBUG, "sizeof(struct cma_result)=%d",
>> - sizeof(struct cma_result));
>> + freelog(LOG_DEBUG, "sizeof(struct cma_result)=%ld",
>> + (long)sizeof(struct cma_result));
>
>Why do you cast to long?
Well, isn't there the reverse warning as well if printing
an int (i.e. no long) with a "%li" specifier?
---
Alexander Mai
st002279@xxxxxxxxxxxxxxxxxxxxxx
- [Freeciv-Dev] New Patch, Alexander Mai, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Raimar Falke, 2002/02/06
- [Freeciv-Dev] Re: New Patch,
Alexander Mai <=
- [Freeciv-Dev] Re: New Patch, Ben Webb, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Alexander Mai, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Raimar Falke, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Alexander Mai, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Raimar Falke, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Alexander Mai, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Raimar Falke, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Tony Stuckey, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Alexander Mai, 2002/02/06
- [Freeciv-Dev] Re: New Patch, Vasco Alexandre Da Silva Costa, 2002/02/06
|
|