diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-04-17 12:23:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:23 -0500 |
commit | 4f240462949ca7487b111adf7aef249f4c6f6e8d (patch) | |
tree | 23d066bbe7e01fd8f5dbb36663f12982978b4a6e /source3/smbd/statcache.c | |
parent | e17302200c138eec7df504a7f4b2bde46073a810 (diff) | |
download | samba-4f240462949ca7487b111adf7aef249f4c6f6e8d.tar.gz samba-4f240462949ca7487b111adf7aef249f4c6f6e8d.tar.xz samba-4f240462949ca7487b111adf7aef249f4c6f6e8d.zip |
r15102: u32 is a tdb-only thing that's not exported by samba4 tdb. Replace by uint32.
Volker
(This used to be commit 0a1665a1b78d063840e42e85229ace5a751e3985)
Diffstat (limited to 'source3/smbd/statcache.c')
-rw-r--r-- | source3/smbd/statcache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index 548d7c4a487..fe022017b52 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; } |