gsize != gint on some platforms. Fix.
Original commit message from CVS: gsize != gint on some platforms. Fix.
This commit is contained in:
parent
a27b4e441f
commit
fd82531af2
@ -448,7 +448,7 @@ unicodify (const char *str, int len, ...)
|
||||
{
|
||||
char *ret = NULL, *cset;
|
||||
va_list args;
|
||||
int bytes_read, bytes_written;
|
||||
gsize bytes_read, bytes_written;
|
||||
|
||||
if (g_utf8_validate (str, len, NULL))
|
||||
return g_strndup (str, len >= 0 ? len : strlen (str));
|
||||
|
Loading…
x
Reference in New Issue
Block a user