mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
hls: Fix compilation on windows
Use string literal on printing format
This commit is contained in:
parent
6a4be5a2ba
commit
944d54e359
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ int_from_string (gchar * ptr, gchar ** endptr, gint * val)
|
||||||
*val = strtol (ptr, &end, 10);
|
*val = strtol (ptr, &end, 10);
|
||||||
if ((errno == ERANGE && (*val == LONG_MAX || *val == LONG_MIN))
|
if ((errno == ERANGE && (*val == LONG_MAX || *val == LONG_MIN))
|
||||||
|| (errno != 0 && *val == 0)) {
|
|| (errno != 0 && *val == 0)) {
|
||||||
GST_WARNING (g_strerror (errno));
|
GST_WARNING ("%s", g_strerror (errno));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue