From 505fa27159156aaf59a32646b660ee56408ab306 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Sat, 29 Jan 2011 19:40:23 +0100 Subject: [PATCH] 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' --- gst-libs/gst/tag/gstxmptag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c index 2697f40..c3bc636 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 */ -- 2.7.4