summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-21 11:12:14 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-21 11:12:14 +0000
commit257dfc89814f555d1f7478f8e303f7925bc143d7 (patch)
treeb22129e4bc87d3903c4cc528b7bcec4e5f565a4c
parent8e71f18acfc4e8e6945eb470b669e8d95447e5a8 (diff)
downloadsamba-257dfc89814f555d1f7478f8e303f7925bc143d7.tar.gz
samba-257dfc89814f555d1f7478f8e303f7925bc143d7.tar.bz2
samba-257dfc89814f555d1f7478f8e303f7925bc143d7.zip
Handle wrap-around on this number by making it unsigned.
(Wrapping to zero does not create problems in this cache) Andrew Bartlett (This used to be commit c58e3d5c7d78dd02584b1490a27f7007e11b8712)
-rw-r--r--source3/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 091ef780ad..9101e947a7 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -431,7 +431,7 @@ typedef struct
} dir_status_struct;
struct vuid_cache {
- int entries;
+ unsigned int entries;
uint16 list[VUID_CACHE_SIZE];
};