Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build break on amd64 - nand/nand.c



--- nand.o ---
cc1: warnings being treated as errors
/build/netbsd-local/src/sys/dev/nand/nand.c: In function 
'nand_default_read_page':
/build/netbsd-local/src/sys/dev/nand/nand.c:730:8: error: format '%u' expects 
type 'unsigned int', but argument 4 has type 'size_t'
/build/netbsd-local/src/sys/dev/nand/nand.c:735:8: error: format '%u' expects 
type 'unsigned int', but argument 4 has type 'size_t'
/build/netbsd-local/src/sys/dev/nand/nand.c:741:8: error: format '%u' expects 
type 'unsigned int', but argument 4 has type 'size_t'
/build/netbsd-local/src/sys/dev/nand/nand.c: In function 
'nand_flash_write_unaligned':
/build/netbsd-local/src/sys/dev/nand/nand.c:1157:9: error: format '%u' expects 
type 'unsigned int', but argument 2 has type 'size_t'
/build/netbsd-local/src/sys/dev/nand/nand.c:1157:9: error: format '%u' expects 
type 'unsigned int', but argument 4 has type 'size_t'

Isn't there a %z format for printing size_t's?



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index