diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-29 11:51:40 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-29 11:51:40 +0000 |
commit | b648cc669d16eb40b477c8dc51efeab485a15de5 (patch) | |
tree | 46bc2bdd64de44d3f470c7505ba73c583485b168 /source/lib/charcnv.c | |
parent | d0628d0d2d5f5366179d2508456ae06ce3879be3 (diff) | |
download | samba-b648cc669d16eb40b477c8dc51efeab485a15de5.tar.gz samba-b648cc669d16eb40b477c8dc51efeab485a15de5.tar.xz samba-b648cc669d16eb40b477c8dc51efeab485a15de5.zip |
Add a few const statements to various odd bits of the tree. (Fixes some
warnings)
Diffstat (limited to 'source/lib/charcnv.c')
-rw-r--r-- | source/lib/charcnv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/charcnv.c b/source/lib/charcnv.c index 5afc638a8d8..adcd8b2aa94 100644 --- a/source/lib/charcnv.c +++ b/source/lib/charcnv.c @@ -94,7 +94,7 @@ size_t convert_string(charset_t from, charset_t to, { size_t i_len, o_len; size_t retval; - char* inbuf = (char*)src; + const char* inbuf = (const char*)src; char* outbuf = (char*)dest; static int initialised; smb_iconv_t descriptor; |