From 350dc55c6e9d15dce5defb35b93d3a211865ae79 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 7 May 2001 01:48:03 +0000 Subject: Fixed a compiler warning. Still more const warnings though. )-: (This used to be commit a345b477a22f6261613d21d079b1632a9409c914) --- source3/libsmb/clistr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb') 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--; } -- cgit