projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New modules unistr/u*-mbsnlen.
[gnulib.git]
/
lib
/
uniconv
/
u8-strconv-to-enc.c
diff --git
a/lib/uniconv/u8-strconv-to-enc.c
b/lib/uniconv/u8-strconv-to-enc.c
index
7dee051
..
35a9220
100644
(file)
--- a/
lib/uniconv/u8-strconv-to-enc.c
+++ b/
lib/uniconv/u8-strconv-to-enc.c
@@
-63,7
+63,7
@@
u8_strconv_to_encoding (const uint8_t *string,
{
result = NULL;
length = 0;
- if (mem_iconveha (string, u8_strlen (string) + 1,
+ if (mem_iconveha (
(const char *)
string, u8_strlen (string) + 1,
"UTF-8", tocode,
handler == iconveh_question_mark, handler,
NULL, &result, &length) < 0)