[Freeciv-Dev] Re: (PR#8704) Patch: Fix wrong error messages in Windows.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8704 >
Vasco Alexandre da Silva Costa wrote:
> This new patch checks for FormatMessage failure and outputs an error
> message with the error number. So even on Wine or weird systems you will
> get some error reporting.
I get this warning:
support.c: In function `mystrerror':
support.c:147: warning: int format, DWORD arg (arg 4)
I'm not sure what a DWORD is but either you shouldn't use %d or you
should cast it as an integer.
jason
|
|