diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-08-21 11:12:14 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-08-21 11:12:14 +0000 |
commit | c58e3d5c7d78dd02584b1490a27f7007e11b8712 (patch) | |
tree | 7d5a6866c2d7b6d845c8301f563d0b4af34671ae /source/include/smb.h | |
parent | 233b14f447994db8fdb4448d19eff0c38c17254d (diff) | |
download | samba-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
Diffstat (limited to 'source/include/smb.h')
-rw-r--r-- | source/include/smb.h | 2 |
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]; }; |