From a330ff0721299889e74632751c5a4f592be90f6d Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Thu, 15 Sep 2011 22:04:56 +0200 Subject: [PATCH] playbin2: fix compiler warning Remove a check for gchar >= 128 --- gst/playback/gstplaybin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index b057bbe..41b3cd4 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -1284,7 +1284,7 @@ gst_playbin_uri_is_valid (GstPlayBin * playbin, const gchar * uri) return FALSE; for (c = uri; *c != '\0'; ++c) { - if (*c >= 128 || !g_ascii_isprint (*c)) + if (!g_ascii_isprint (*c)) goto invalid; if (*c == ' ') goto invalid; -- 2.7.4