From: Haavard Skinnemoen Date: Fri, 9 Feb 2007 11:01:02 +0000 (+0100) Subject: [AVR32] ssize_t should be long, not int X-Git-Tag: v2.6.21-rc1~83^2~63^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a3b0277d1c1d754eeb9a8f994339edbd914cacda;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/include/asm-avr32/posix_types.h b/include/asm-avr32/posix_types.h index 2831b039b34..9e255b99963 100644 --- a/include/asm-avr32/posix_types.h +++ b/include/asm-avr32/posix_types.h @@ -23,7 +23,7 @@ typedef unsigned short __kernel_ipc_pid_t; typedef unsigned int __kernel_uid_t; typedef unsigned int __kernel_gid_t; typedef unsigned long __kernel_size_t; -typedef int __kernel_ssize_t; +typedef long __kernel_ssize_t; typedef int __kernel_ptrdiff_t; typedef long __kernel_time_t; typedef long __kernel_suseconds_t;