diff options
author | Tim Potter <tpot@samba.org> | 2001-05-07 01:48:03 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-05-07 01:48:03 +0000 |
commit | a345b477a22f6261613d21d079b1632a9409c914 (patch) | |
tree | 66830cff566aff5af3e99f8a0bf718f83521a4d0 | |
parent | 063c2dea920dbf415e22d0359baa7b36bf513f09 (diff) | |
download | samba-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.c | 2 |
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--; } |