]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Make the GID_NONE define a little safer.
authorWayne Davison <wayned@samba.org>
Wed, 7 Jul 2004 08:25:13 +0000 (08:25 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 7 Jul 2004 08:25:13 +0000 (08:25 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index f1854d388cb7d9d4e5c28ea026b52eae37f26e0f..9a165071aaef6a80e4e4f95bee801da8540e91f5 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -391,7 +391,7 @@ struct idev {
 #define IN_LOOPBACKNET 127
 #endif
 
-#define GID_NONE (gid_t) -1
+#define GID_NONE ((gid_t)-1)
 
 #define HL_CHECK_MASTER        0
 #define HL_SKIP                1