summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clistr.c b/source3/libsmb/clistr.c
index 13bf1f05b7..0225797538 100644
--- a/source3/libsmb/clistr.c
+++ b/source3/libsmb/clistr.c
@@ -96,7 +96,7 @@ int clistr_pull(struct cli_state *cli, char *dest, const void *src, int dest_len
}
if (!(flags & STR_ASCII) && clistr_align(cli->inbuf, src)) {
- src = (void *)((char *)src + 1);
+ src = (const void *)((const char *)src + 1);
if (src_len > 0) src_len--;
}