1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00

Handle wrap-around on this number by making it unsigned.

(Wrapping to zero does not create problems in this cache)

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
-
parent 233b14f447
commit c58e3d5c7d

View File

@@ -431,7 +431,7 @@ typedef struct
} dir_status_struct; } dir_status_struct;
struct vuid_cache { struct vuid_cache {
int entries; unsigned int entries;
uint16 list[VUID_CACHE_SIZE]; uint16 list[VUID_CACHE_SIZE];
}; };