summaryrefslogtreecommitdiffstats
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
commita345b477a22f6261613d21d079b1632a9409c914 (patch)
tree66830cff566aff5af3e99f8a0bf718f83521a4d0
parent063c2dea920dbf415e22d0359baa7b36bf513f09 (diff)
downloadsamba-a345b477a22f6261613d21d079b1632a9409c914.tar.gz
samba-a345b477a22f6261613d21d079b1632a9409c914.tar.xz
samba-a345b477a22f6261613d21d079b1632a9409c914.zip
Fixed a compiler warning. Still more const warnings though. )-:
-rw-r--r--source/libsmb/clistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clistr.c b/source/libsmb/clistr.c
index 13bf1f05b7a..02257975380 100644
--- a/source/libsmb/clistr.c
+++ b/source/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--;
}