summaryrefslogtreecommitdiff
path: root/source3/smbd/statcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/statcache.c')
-rw-r--r--source3/smbd/statcache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index fe022017b5..548d7c4a48 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -291,12 +291,12 @@ BOOL stat_cache_lookup(connection_struct *conn, pstring name, pstring dirpath,
JRA. Use a djb-algorithm hash for speed.
***************************************************************/
-uint32 fast_string_hash(TDB_DATA *key)
+u32 fast_string_hash(TDB_DATA *key)
{
- uint32 n = 0;
+ u32 n = 0;
const char *p;
for (p = key->dptr; *p != '\0'; p++) {
- n = ((n << 5) + n) ^ (uint32)(*p);
+ n = ((n << 5) + n) ^ (u32)(*p);
}
return n;
}