From d25c2b146b1581ef2a141ecbc04579b792b4c4dc Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 29 Sep 2001 11:51:40 +0000 Subject: Add a few const statements to various odd bits of the tree. (Fixes some warnings) (This used to be commit b648cc669d16eb40b477c8dc51efeab485a15de5) --- source3/lib/charcnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/charcnv.c') diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 5afc638a8d..adcd8b2aa9 100644 --- a/source3/lib/charcnv.c +++ b/source3/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; -- cgit