gsize != gint on some platforms. Fix.

Original commit message from CVS:
gsize != gint on some platforms.  Fix.
This commit is contained in:
David Schleef 2003-05-21 19:56:30 +00:00
parent a27b4e441f
commit fd82531af2

View file

@ -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));