Re: [PATCH 2/2] s390: Always use "long" for ssize_t to match size_t

2012-08-15 Thread Heiko Carstens
On Sun, Aug 12, 2012 at 12:01:34PM +0200, Geert Uytterhoeven wrote: > On s390x-linux-gcc, __SIZE_TYPE__ expands to "long unsigned int" for both > 32-bit s390 and 64-bit s390x, as > gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h > has > > #define

Re: [PATCH 2/2] s390: Always use long for ssize_t to match size_t

2012-08-15 Thread Heiko Carstens
On Sun, Aug 12, 2012 at 12:01:34PM +0200, Geert Uytterhoeven wrote: On s390x-linux-gcc, __SIZE_TYPE__ expands to long unsigned int for both 32-bit s390 and 64-bit s390x, as gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h has #define SIZE_TYPE

[PATCH 2/2] s390: Always use "long" for ssize_t to match size_t

2012-08-12 Thread Geert Uytterhoeven
On s390x-linux-gcc, __SIZE_TYPE__ expands to "long unsigned int" for both 32-bit s390 and 64-bit s390x, as gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h has #define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "long unsigned int") To match this,

[PATCH 2/2] s390: Always use long for ssize_t to match size_t

2012-08-12 Thread Geert Uytterhoeven
On s390x-linux-gcc, __SIZE_TYPE__ expands to long unsigned int for both 32-bit s390 and 64-bit s390x, as gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h has #define SIZE_TYPE (TARGET_64BIT ? long unsigned int : long unsigned int) To match this,