- Got rid of the uint64 typedef.
authorWayne Davison <wayned@samba.org>
Thu, 20 Jan 2005 22:43:32 +0000 (22:43 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 20 Jan 2005 22:43:32 +0000 (22:43 +0000)
- Changed the dev/inode vars to use int64.

rsync.h

diff --git a/rsync.h b/rsync.h
index 2db1279..2a9918b 100644 (file)
--- 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