From acb9007769fc36f4fd1c61bbdd29b74b84d6c07f Mon Sep 17 00:00:00 2001 From: Chris Peterson Date: Wed, 2 Nov 2016 21:20:40 -0700 Subject: [PATCH] Bug 1313905 - Fix -Wincompatible-pointer-types-discards-qualifiers warnings in webrtc/signaling. r=bwc --- media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c b/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c index 0692633e4660..7301d929817c 100644 --- a/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c +++ b/media/webrtc/signaling/src/sdp/sipcc/sdp_attr.c @@ -429,7 +429,7 @@ sdp_result_e sdp_parse_attr_maxprate (sdp_t *sdp_p, sdp_attr_t *attr_p, * missing. * */ -static void sdp_attr_fmtp_no_value(sdp_t *sdp, char *param_name) +static void sdp_attr_fmtp_no_value(sdp_t *sdp, const char *param_name) { sdp_parse_error(sdp, "%s Warning: No %s value specified for fmtp attribute", @@ -443,9 +443,8 @@ static void sdp_attr_fmtp_no_value(sdp_t *sdp, char *param_name) * incorrect. * */ - -static void sdp_attr_fmtp_invalid_value(sdp_t *sdp, char *param_name, - char* param_value) +static void sdp_attr_fmtp_invalid_value(sdp_t *sdp, const char *param_name, + const char* param_value) { sdp_parse_error(sdp, "%s Warning: Invalid %s: %s specified for fmtp attribute",