diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-11-28 23:54:07 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-11-28 23:54:07 +0000 |
commit | f6b962fba37a1ac105301d699708e541ce34d3b4 (patch) | |
tree | 74ae24de51a3b374e616459874e8cfab9bda99a0 /source3/lib | |
parent | bd8e916cb520d89a14a1cd13b2b261253729ac9b (diff) | |
download | samba-f6b962fba37a1ac105301d699708e541ce34d3b4.tar.gz samba-f6b962fba37a1ac105301d699708e541ce34d3b4.tar.bz2 samba-f6b962fba37a1ac105301d699708e541ce34d3b4.zip |
fixed some krb5 ifdefs
(This used to be commit 23ef22f11700bbaa5778a9678a990a2b041fcefe)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/charcnv.c | 4 |
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; |