From a6367a17d5f77848e8313b1e5e42698aec92908d Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 26 May 2013 15:43:17 +0000 Subject: [PATCH] on x86_64 use long instead of long long for 64bit posix types following glibc use the lowest rank 64bit integer type for ino_t etc. this is eg. useful for printf format compatibility --- arch/x86_64/bits/alltypes.h.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86_64/bits/alltypes.h.sh b/arch/x86_64/bits/alltypes.h.sh index c5e54aab..a6c90327 100755 --- a/arch/x86_64/bits/alltypes.h.sh +++ b/arch/x86_64/bits/alltypes.h.sh @@ -94,12 +94,12 @@ TYPEDEF long off_t; TYPEDEF unsigned int mode_t; TYPEDEF unsigned long nlink_t; -TYPEDEF unsigned long long ino_t; +TYPEDEF unsigned long ino_t; TYPEDEF unsigned long dev_t; TYPEDEF long blksize_t; -TYPEDEF long long blkcnt_t; -TYPEDEF unsigned long long fsblkcnt_t; -TYPEDEF unsigned long long fsfilcnt_t; +TYPEDEF long blkcnt_t; +TYPEDEF unsigned long fsblkcnt_t; +TYPEDEF unsigned long fsfilcnt_t; TYPEDEF void * timer_t; TYPEDEF int clockid_t; -- 2.25.1