Module: kamailio Branch: master Commit: 433f6945d4ba1a72da40ffced990c0a8921cc952 URL: https://github.com/kamailio/kamailio/commit/433f6945d4ba1a72da40ffced990c0a8921cc952
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2025-11-23T09:15:31+01:00 rtpengine: cast to fix compile warnings --- Modified: src/modules/rtpengine/rtpengine_hash.c --- Diff: https://github.com/kamailio/kamailio/commit/433f6945d4ba1a72da40ffced990c0a8921cc952.diff Patch: https://github.com/kamailio/kamailio/commit/433f6945d4ba1a72da40ffced990c0a8921cc952.patch --- diff --git a/src/modules/rtpengine/rtpengine_hash.c b/src/modules/rtpengine/rtpengine_hash.c index 794f043c243..6aaead44e1f 100644 --- a/src/modules/rtpengine/rtpengine_hash.c +++ b/src/modules/rtpengine/rtpengine_hash.c @@ -55,7 +55,7 @@ int rtpengine_hash_table_init(int size) rtpengine_hash_table_destroy(); return 0; } - memset(rtpengine_hash_table->row_locks, 0, + memset((void *)rtpengine_hash_table->row_locks, 0, hash_table_size * sizeof(gen_lock_t)); // init hashtable row_entry_list @@ -141,7 +141,7 @@ int rtpengine_hash_table_destroy() } // destroy hashtable row_locks - shm_free(rtpengine_hash_table->row_locks); + shm_free((void *)rtpengine_hash_table->row_locks); rtpengine_hash_table->row_locks = NULL; // destroy hashtable _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
