mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
sdp: Fix ACCEPTABLE_CHAR() macro to work with signed and unsigned chars
This commit is contained in:
parent
3328f89c49
commit
0cb380e710
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ static const guchar acceptable[96] = {
|
||||||
|
|
||||||
static const gchar hex[16] = "0123456789ABCDEF";
|
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:
|
* gst_sdp_message_as_uri:
|
||||||
|
|
Loading…
Reference in a new issue