summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-07 01:48:03 +0000
committerTim Potter <tpot@samba.org>2001-05-07 01:48:03 +0000
commit350dc55c6e9d15dce5defb35b93d3a211865ae79 (patch)
tree284890fb651c3a9f8a22a92f799c5944dce90744
parent3bb92410a46d37d4487f1ea8a95af17828c727be (diff)
downloadsamba-350dc55c6e9d15dce5defb35b93d3a211865ae79.tar.gz
samba-350dc55c6e9d15dce5defb35b93d3a211865ae79.tar.bz2
samba-350dc55c6e9d15dce5defb35b93d3a211865ae79.zip
Fixed a compiler warning. Still more const warnings though. )-:
(This used to be commit a345b477a22f6261613d21d079b1632a9409c914)
-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--;
}