diff options
| author | Thomas Miletich | 2009-10-17 16:52:30 +0200 |
|---|---|---|
| committer | Marty Connor | 2009-10-17 19:56:03 +0200 |
| commit | 78e54426c046f5f55526ca9d51a129f2b7e28bc3 (patch) | |
| tree | 7482bc56bd9b69404518e6e79e387357a862e411 /src/drivers | |
| parent | [ath5k] Save proper cacheline size when fixing PCI configuration (diff) | |
| download | ipxe-78e54426c046f5f55526ca9d51a129f2b7e28bc3.tar.gz ipxe-78e54426c046f5f55526ca9d51a129f2b7e28bc3.tar.xz ipxe-78e54426c046f5f55526ca9d51a129f2b7e28bc3.zip | |
[zbin] Fix compilation warnings for util/zbin.c
Recent gcc versions generate warnings when compiling util/zbin.c
( tested with gcc-4.3.3 ):
util/zbin.c: In function ‘process_zinfo_pack’:
util/zbin.c:200: warning: format ‘%#zx’ expects type ‘size_t’, but argument 6
has type ‘long unsigned int’
util/zbin.c: In function ‘process_zinfo_add’:
util/zbin.c:257: warning: format ‘%#lx’ expects type ‘long unsigned int’, but
argument 4 has type ‘int’
util/zbin.c:266: warning: format ‘%#lx’ expects type ‘long unsigned int’, but
argument 4 has type ‘int’
util/zbin.c:266: warning: format ‘%d’ expects type ‘int’, but argument 8 has
type ‘long unsigned int’
util/zbin.c:286: warning: format ‘%#lx’ expects type ‘long unsigned int’, but
argument 6 has type ‘int’
util/zbin.c:286: warning: format ‘%#lx’ expects type ‘long unsigned int’, but
argument 7 has type ‘size_t’
This patch eliminates these warnings.
Tested with gcc-4.3.3 on Ubuntu 9.04 and gcc-4.1.2 on Debian Etch.
Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions
