mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 21:24:35 +04:00
sofia-sip: backport patch fixing support for GCC 14
Backport patch fixing support for GCC 14. While at it also renumber the other patch with 1xx order to follow usual pattern for downstream patch. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
From 43f41d153f8034288083a440b1569d63f431f1b9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net>
|
||||||
|
Date: Tue, 10 Jun 2025 23:49:48 +0300
|
||||||
|
Subject: [PATCH] Fix incompatible pointer type in sip_basic.c (#249)
|
||||||
|
|
||||||
|
Closes #248
|
||||||
|
---
|
||||||
|
libsofia-sip-ua/sip/sip_basic.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/libsofia-sip-ua/sip/sip_basic.c
|
||||||
|
+++ b/libsofia-sip-ua/sip/sip_basic.c
|
||||||
|
@@ -2901,7 +2901,7 @@ issize_t sip_identity_d(su_home_t *home,
|
||||||
|
ext = strchr(ppt, ';');
|
||||||
|
|
||||||
|
if (ext) {
|
||||||
|
- msg_param_t *params = su_alloc(home, sizeof(msg_param_t));
|
||||||
|
+ msg_param_t const *params = su_alloc(home, sizeof(msg_param_t));
|
||||||
|
if (msg_params_d(home, &ext, ¶ms) >= 0) {
|
||||||
|
id->id_info_params = params;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user