Commit 0cb380e7 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

sdp: Fix ACCEPTABLE_CHAR() macro to work with signed and unsigned chars

parent 3328f89c
......@@ -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) (((guchar)(a))>=32 && ((guchar)(a))<128 && acceptable[(((guchar)a))-32])
* gst_sdp_message_as_uri:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment