summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index 1cc072b7b5..c22f1a5d2e 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -885,7 +885,7 @@ void init_unistr2_from_unistr (UNISTR2 *to, UNISTR *from)
found = False;
while (!found)
{
- if (from->buffer)[i]=='\0')
+ if ((from->buffer)[i]=='\0')
found = True;
else
i++;