Commit fd82531a authored by David Schleef's avatar David Schleef
Browse files

gsize != gint on some platforms. Fix.

Original commit message from CVS:
gsize != gint on some platforms.  Fix.
parent a27b4e44
......@@ -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));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment