URL:
<http://gna.org/bugs/?20513>
Summary: dataio.c compiler warnings
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 15 Feb 2013 03:59:12 PM EET
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.5.0
_______________________________________________________
Details:
As of r22341 --enable-debug (-Werror) build fails:
common/dataio.c: In function 'dio_get_uint8':
common/dataio.c:501:5: error: format '%d' expects argument of type 'int', but
argument 7 has type 'long unsigned int' [-Werror=format]
common/dataio.c: In function 'dio_get_uint16':
common/dataio.c:520:5: error: format '%d' expects argument of type 'int', but
argument 7 has type 'long unsigned int' [-Werror=format]
common/dataio.c: In function 'dio_get_uint32':
common/dataio.c:539:5: error: format '%d' expects argument of type 'int', but
argument 7 has type 'long unsigned int' [-Werror=format]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20513>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev