Explorar o código

msrp: fix compile warning of argument type in dbg message

- reported by Olle E. Johansson
(cherry picked from commit 7339d847adfd098c58426e96e5e3730ad580d543)
Daniel-Constantin Mierla %!s(int64=12) %!d(string=hai) anos
pai
achega
22b614d065
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/msrp/msrp_parser.c

+ 1 - 1
modules/msrp/msrp_parser.c

@@ -538,7 +538,7 @@ int msrp_parse_uri(char *start, int len, msrp_uri_t *uri)
 
 error:
 	LM_ERR("parsing error in [%.*s] at [%ld]\n",
-			len, start, s - start);
+			len, start, (long int)(s - start));
 	memset(uri, 0, sizeof(msrp_uri_t));
 	return -1;
 }