]> err.no Git - linux-2.6/commit
[AVR32] ssize_t should be long, not int
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 9 Feb 2007 11:01:02 +0000 (12:01 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 9 Feb 2007 14:01:59 +0000 (15:01 +0100)
commita3b0277d1c1d754eeb9a8f994339edbd914cacda
tree15762bd661c3ab3933751f4ac18c6b2f7cbaf5b9
parent9d4ad801372c688c6ae7e080f6fc6f802f53cbe3
[AVR32] ssize_t should be long, not int

Since size_t is defined as unsigned long, ssize_t ought to be long
and not int. It could have been the other way around, but gcc defines
size_t as unsigned long, so this is correct.

This fixes a couple of printk format warnings.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/posix_types.h