diff options
-rw-r--r-- | lib/util/charset/charset_macosxfs.c | 8 | ||||
-rw-r--r-- | lib/util/charset/charset_proto.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/util/charset/charset_macosxfs.c b/lib/util/charset/charset_macosxfs.c index b32aa2bcd1..895277d001 100644 --- a/lib/util/charset/charset_macosxfs.c +++ b/lib/util/charset/charset_macosxfs.c @@ -206,7 +206,7 @@ static void hexdump( const char * label, const char * s, size_t len ) */ size_t macosxfs_encoding_pull( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* Script string */ + const char **inbuf, size_t *inbytesleft, /* Script string */ char **outbuf, size_t *outbytesleft) /* UTF-16-LE string */ { static const int script_code = kCFStringEncodingUTF8; @@ -328,7 +328,7 @@ size_t macosxfs_encoding_pull( size_t macosxfs_encoding_push( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ + const char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ char **outbuf, size_t *outbytesleft) /* Script string */ { static const int script_code = kCFStringEncodingUTF8; @@ -434,7 +434,7 @@ size_t macosxfs_encoding_push( */ static size_t macosxfs_encoding_pull( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* Script string */ + const char **inbuf, size_t *inbytesleft, /* Script string */ char **outbuf, size_t *outbytesleft) /* UTF-16-LE string */ { static const int script_code = kCFStringEncodingUTF8; @@ -522,7 +522,7 @@ static size_t macosxfs_encoding_pull( static size_t macosxfs_encoding_push( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ + const char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ char **outbuf, size_t *outbytesleft) /* Script string */ { static const int script_code = kCFStringEncodingUTF8; diff --git a/lib/util/charset/charset_proto.h b/lib/util/charset/charset_proto.h index 3b3187a6eb..6da7118537 100644 --- a/lib/util/charset/charset_proto.h +++ b/lib/util/charset/charset_proto.h @@ -26,11 +26,11 @@ size_t weird_pull(void *cd, const char **inbuf, size_t *inbytesleft, size_t macosxfs_encoding_pull( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* Script string */ + const char **inbuf, size_t *inbytesleft, /* Script string */ char **outbuf, size_t *outbytesleft); /* UTF-16-LE string */ size_t macosxfs_encoding_push( void *cd, /* Encoder handle */ - char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ + const char **inbuf, size_t *inbytesleft, /* UTF-16-LE string */ char **outbuf, size_t *outbytesleft); /* Script string */ |