[sr-dev] git:master:59b11ba8: sipcapture: fix compile warning of testing unsigned int for <0

Daniel-Constantin Mierla miconda at gmail.com
Fri Aug 26 13:44:45 CEST 2016


Module: kamailio
Branch: master
Commit: 59b11ba80591beaf2ec92cd3ad6400b3afbb35f2
URL: https://github.com/kamailio/kamailio/commit/59b11ba80591beaf2ec92cd3ad6400b3afbb35f2

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-08-26T13:43:47+02:00

sipcapture: fix compile warning of testing unsigned int for <0

---

Modified: modules/sipcapture/sipcapture.c

---

Diff:  https://github.com/kamailio/kamailio/commit/59b11ba80591beaf2ec92cd3ad6400b3afbb35f2.diff
Patch: https://github.com/kamailio/kamailio/commit/59b11ba80591beaf2ec92cd3ad6400b3afbb35f2.patch

---

diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index 47e193c..33c96cd 100644
--- a/modules/sipcapture/sipcapture.c
+++ b/modules/sipcapture/sipcapture.c
@@ -2669,7 +2669,7 @@ static int nosip_hep_msg(void *data)
 {
         sip_msg_t* msg;
         char *buf;
-        unsigned int len = 0;
+        int len = 0;
         struct run_act_ctx ra_ctx;
         int ret = 0;
 




More information about the sr-dev mailing list