From 39892e05a7f5f9bddf6d86960c0a6b3f10912d00 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Wed, 1 Apr 2020 12:53:44 -0600 Subject: [PATCH] [sofia-sip] fix build on newer clang --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/sip/sip_pref_util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 16917b0159..4fe074aa97 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Sat Mar 28 10:36:01 UTC 2020 +Wed Apr 1 12:53:24 MDT 2020 diff --git a/libs/sofia-sip/libsofia-sip-ua/sip/sip_pref_util.c b/libs/sofia-sip/libsofia-sip-ua/sip/sip_pref_util.c index 892d5d299d..0535e36bc7 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sip/sip_pref_util.c +++ b/libs/sofia-sip/libsofia-sip-ua/sip/sip_pref_util.c @@ -312,7 +312,7 @@ int sip_prefs_matching(char const *pvalue, int sip_is_callerpref(char const *param) { #define MATCH(s) \ - (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \ + (su_casenmatch(¶m[1], &s[1], strlen(s) - 1) && \ (param[strlen(s)] == '=' || param[strlen(s)] == '\0')) int xor = 0, base = 0;