From d06f63287e3e6ebefb5586bf96a7f6776edfd4d5 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 20 Jan 2005 22:43:32 +0000 Subject: [PATCH] - Got rid of the uint64 typedef. - Changed the dev/inode vars to use int64. --- rsync.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/rsync.h b/rsync.h index 2db12798..2a9918b0 100644 --- a/rsync.h +++ b/rsync.h @@ -337,17 +337,6 @@ enum msgcode { #define INT64_IS_OFF_T #endif -#if (SIZEOF_LONG == 8) -#define uint64 unsigned long -#elif (SIZEOF_INT == 8) -#define uint64 unsigned int -#elif HAVE_LONGLONG -#define uint64 unsigned long long -#else -/* As long as it gets... */ -#define uint64 unsigned off_t -#endif - /* Starting from protocol version 26, we always use 64-bit * ino_t and dev_t internally, even if this platform does not * allow files to have 64-bit inums. That's because the @@ -375,8 +364,8 @@ enum msgcode { */ struct idev { - uint64 inode; - uint64 dev; + int64 inode; + int64 dev; }; #ifndef MIN -- 2.34.1