On Fri, 19 Apr 2013 11:56:54 +0200 Kay Sievers <kay@xxxxxxxx> wrote: > On Fri, Apr 19, 2013 at 10:17 AM, Heiko Carstens > <heiko.carstens@xxxxxxxxxx> wrote: > > On Thu, Apr 18, 2013 at 03:10:18PM +0200, Kay Sievers wrote: > > > I just had look into the glibc code but couldn't find any (implicit) cast > > from int to long. > > Can you give a pointer to the code in glibc where this breaks? > > On 64 bit the value for userspace is long, it's just an assignment: > http://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/statfs64.c#l59 The copy of the statfs.h header in sysdeps/unix/sysv/linux/s390/bits/statfs.h says differently: #ifdef __USE_LARGEFILE64 struct statfs64 { int f_type; int f_bsize; __fsblkcnt64_t f_blocks; __fsblkcnt64_t f_bfree; __fsblkcnt64_t f_bavail; __fsfilcnt64_t f_files; __fsfilcnt64_t f_ffree; __fsid_t f_fsid; int f_namelen; int f_frsize; int f_flags; int f_spare[4]; }; #endif -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html