From c58e3d5c7d78dd02584b1490a27f7007e11b8712 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 21 Aug 2002 11:12:14 +0000 Subject: [PATCH] Handle wrap-around on this number by making it unsigned. (Wrapping to zero does not create problems in this cache) Andrew Bartlett --- source/include/smb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; };