0001-Fix-incompatible-pointer-type-in-sip_basic-c.patch 1.0 KB

123456789101112131415161718192021222324252627
  1. From 46b02f0655af0a9594e805f09a8ee99278f84777 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net>
  3. Date: Mon, 19 Feb 2024 09:06:20 +0200
  4. Subject: [PATCH] Fix incompatible pointer type in sip_basic.c
  5. Closes #248
  6. Upstream: https://github.com/freeswitch/sofia-sip/pull/249
  7. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  8. ---
  9. libsofia-sip-ua/sip/sip_basic.c | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/libsofia-sip-ua/sip/sip_basic.c b/libsofia-sip-ua/sip/sip_basic.c
  12. index 3444fb25..82e824e3 100644
  13. --- a/libsofia-sip-ua/sip/sip_basic.c
  14. +++ b/libsofia-sip-ua/sip/sip_basic.c
  15. @@ -2901,7 +2901,7 @@ issize_t sip_identity_d(su_home_t *home, sip_header_t *h, char *s, isize_t slen)
  16. ext = strchr(ppt, ';');
  17. if (ext) {
  18. - msg_param_t *params = su_alloc(home, sizeof(msg_param_t));
  19. + msg_param_t const *params = su_alloc(home, sizeof(msg_param_t));
  20. if (msg_params_d(home, &ext, &params) >= 0) {
  21. id->id_info_params = params;
  22. }