mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue