diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2011-01-29 19:40:23 +0100 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2011-01-31 19:21:32 +0100 |
commit | 505fa27159156aaf59a32646b660ee56408ab306 (patch) | |
tree | 49e17c387d996003fab6667f757fd73ff94b4aac | |
parent | 33a5e3e06f091afc31ef206a267c420ae4a5bb3a (diff) |
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'
-rw-r--r-- | gst-libs/gst/tag/gstxmptag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c index 2697f40fa..c3bc6360e 100644 --- a/gst-libs/gst/tag/gstxmptag.c +++ b/gst-libs/gst/tag/gstxmptag.c @@ -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 */ |