Added link_dest_used unsigned short to struct hlink and made the
authorWayne Davison <wayned@samba.org>
Mon, 9 Oct 2006 02:57:04 +0000 (02:57 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 9 Oct 2006 02:57:04 +0000 (02:57 +0000)
other values explicitly 32-bit so that the total size can't be
larger than the other struct we're in a union with.

rsync.h

diff --git a/rsync.h b/rsync.h
index 26379eb..de9de8e 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -498,8 +498,9 @@ struct idev {
 #define HL_SKIP                1
 
 struct hlink {
 #define HL_SKIP                1
 
 struct hlink {
-       int next;
-       int hlindex;
+       int32 next;
+       int32 hlindex;
+       unsigned short link_dest_used;
 };
 
 #define F_DEV  link_u.idev->dev
 };
 
 #define F_DEV  link_u.idev->dev