summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 901d5ae9f1..f6d9f3425f 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -499,7 +499,7 @@ static bool unix_strupper(const char *src, size_t srclen, char *dest, size_t des
bool ret;
if (!push_ucs2_talloc(talloc_tos(), &buffer, src, &size)) {
- return (size_t)-1;
+ return false;
}
if (!strupper_w(buffer) && (dest == src)) {