summaryrefslogtreecommitdiff
path: root/source3/lib/charcnv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/charcnv.c')
-rw-r--r--source3/lib/charcnv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index ab9554f848..2e5413c5c0 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -95,7 +95,7 @@ size_t convert_string(charset_t from, charset_t to,
{
size_t i_len, o_len;
size_t retval;
- const char* inbuf = (char*)src;
+ const char* inbuf = (const char*)src;
char* outbuf = (char*)dest;
smb_iconv_t descriptor;
@@ -155,7 +155,7 @@ size_t convert_string_allocate(charset_t from, charset_t to,
{
size_t i_len, o_len, destlen;
size_t retval;
- const char *inbuf = (char *)src;
+ const char *inbuf = (const char *)src;
char *outbuf, *ob;
smb_iconv_t descriptor;