mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
xmptag: cast argument to isdigit to int
... as that is the specification and fixes compilation on Cygwin: gstxmptaag.c: In function 'read_one_tag': gstxmptag.c:1015: error: array subscript has type 'char'
This commit is contained in:
parent
33a5e3e06f
commit
505fa27159
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ read_one_tag (GstTagList * list, const gchar * tag, XmpTag * xmptag,
|
|||
gint num_digits = 0;
|
||||
|
||||
/* find the number of digits */
|
||||
while (isdigit (usec_str[num_digits++]) && num_digits < 6);
|
||||
while (isdigit ((gint) usec_str[num_digits++]) && num_digits < 6);
|
||||
|
||||
if (num_digits > 0) {
|
||||
/* fill up to 6 digits with 0 */
|
||||
|
|
Loading…
Reference in a new issue