summaryrefslogtreecommitdiff
blob: 7aea35496d772f63ef4f30a546007b9f6519f41b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linphone-1.99.0/coreapi/linphonecore.c
+++ linphone-1.99.0/coreapi/linphonecore.c
@@ -1621,7 +1621,7 @@
 		snprintf(dtmf_body, 999, "Signal=%c\r\nDuration=250\r\n", dtmf);
 		osip_message_set_body(msg,dtmf_body,strlen(dtmf_body));
 		osip_message_set_content_type(msg,"application/dtmf-relay");
-		snprintf(clen,sizeof(clen),"%i",strlen(dtmf_body));
+		snprintf(clen,sizeof(clen),"%zu",strlen(dtmf_body));
 		osip_message_set_content_length(msg,clen);
 		
 		eXosip_lock();