summaryrefslogtreecommitdiffstats
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
commitc58e3d5c7d78dd02584b1490a27f7007e11b8712 (patch)
tree7d5a6866c2d7b6d845c8301f563d0b4af34671ae
parent233b14f447994db8fdb4448d19eff0c38c17254d (diff)
downloadsamba-c58e3d5c7d78dd02584b1490a27f7007e11b8712.tar.gz
samba-c58e3d5c7d78dd02584b1490a27f7007e11b8712.tar.xz
samba-c58e3d5c7d78dd02584b1490a27f7007e11b8712.zip
Handle wrap-around on this number by making it unsigned.
(Wrapping to zero does not create problems in this cache) Andrew Bartlett
-rw-r--r--source/include/smb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 091ef780ade..9101e947a7f 100644
--- a/source/include/smb.h
+++ b/source/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];
};