From 257dfc89814f555d1f7478f8e303f7925bc143d7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 21 Aug 2002 11:12:14 +0000 Subject: 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) --- source3/include/smb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/smb.h') 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]; }; -- cgit