summaryrefslogtreecommitdiff
path: root/source3/smbd/mangle_hash.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-15 18:31:46 +0000
committerGerald Carter <jerry@samba.org>2003-01-15 18:31:46 +0000
commit5fb59502585c68d03bf016d6a4470f2519f941d7 (patch)
tree73cf24d130aba86a48209c41c356e25eac7df2d4 /source3/smbd/mangle_hash.c
parentf6f4492874e2e4195b70ee9ea1cf0a495e813913 (diff)
downloadsamba-5fb59502585c68d03bf016d6a4470f2519f941d7.tar.gz
samba-5fb59502585c68d03bf016d6a4470f2519f941d7.tar.bz2
samba-5fb59502585c68d03bf016d6a4470f2519f941d7.zip
small merges from SAMBA_3_0; mostly typos, renames, etc...
(This used to be commit 9ac196dad4893b0ceef13281a140be5d85391e6c)
Diffstat (limited to 'source3/smbd/mangle_hash.c')
-rw-r--r--source3/smbd/mangle_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c
index ac9c13dcac..e220d2f6d2 100644
--- a/source3/smbd/mangle_hash.c
+++ b/source3/smbd/mangle_hash.c
@@ -730,7 +730,7 @@ static void name_map(char *OutName, BOOL need83, BOOL cache83)
DEBUG(5,("name_map( %s, need83 = %s, cache83 = %s)\n", OutName,
need83 ? "True" : "False", cache83 ? "True" : "False"));
- if (push_ucs2_allocate(&OutName_ucs2, OutName) == -1 ) {
+ if (push_ucs2_allocate(&OutName_ucs2, OutName) == (size_t)-1) {
DEBUG(0, ("push_ucs2_allocate failed!\n"));
return;
}