CC (gcc) [M msrp.so] msrp_parser.o msrp_parser.c: In function ‘msrp_parse_uri’: msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 9 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 7 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 8 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘int’
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) Centos 5.9
/O
Can you try with latest master barnach? I pushed a cast, but not sure was really necessary, maybe is in other part of expanded debug line.
Cheers, Daniel
On 3/24/13 10:18 AM, Olle E. Johansson wrote:
CC (gcc) [M msrp.so] msrp_parser.o msrp_parser.c: In function ‘msrp_parse_uri’: msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 9 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 7 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 8 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘int’ msrp_parser.c:540: warning: format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘int’
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) Centos 5.9
/O _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev