From 4f240462949ca7487b111adf7aef249f4c6f6e8d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 17 Apr 2006 12:23:38 +0000 Subject: r15102: u32 is a tdb-only thing that's not exported by samba4 tdb. Replace by uint32. Volker (This used to be commit 0a1665a1b78d063840e42e85229ace5a751e3985) --- source3/smbd/statcache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd/statcache.c') diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index 548d7c4a48..fe022017b5 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. ***************************************************************/ -u32 fast_string_hash(TDB_DATA *key) +uint32 fast_string_hash(TDB_DATA *key) { - u32 n = 0; + uint32 n = 0; const char *p; for (p = key->dptr; *p != '\0'; p++) { - n = ((n << 5) + n) ^ (u32)(*p); + n = ((n << 5) + n) ^ (uint32)(*p); } return n; } -- cgit