sdp: Remove useless check in macro
authorEdward Hervey <bilboed@bilboed.com>
Fri, 17 Sep 2010 08:43:04 +0000 (10:43 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 17 Sep 2010 08:43:04 +0000 (10:43 +0200)
A signed char is always < 128. Fixes a warning on macosx build.

gst-libs/gst/sdp/gstsdpmessage.c

index 7e3bbb8..ba89275 100644 (file)
@@ -598,7 +598,7 @@ static const guchar acceptable[96] = {
 
 static const gchar hex[16] = "0123456789ABCDEF";
 
-#define ACCEPTABLE_CHAR(a) ((a)>=32 && (a)<128 && acceptable[(a)-32])
+#define ACCEPTABLE_CHAR(a) ((a)>=32 && acceptable[(a)-32])
 
 /**
  * gst_sdp_message_as_uri: