From 1542d55a2cfc2152fb1d450a101edb7ea2639695 Mon Sep 17 00:00:00 2001 From: "Yuriy M. Kaminskiy" Date: Sun, 26 Jul 2015 16:25:29 +0300 Subject: [PATCH] minissdpd: Fix compiler warning Same as a93028913cfe024f3d04e1c216116b1a66af4134 for miniupnpd --- minissdpd/getroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minissdpd/getroute.c b/minissdpd/getroute.c index 8f0c192..2d005a7 100644 --- a/minissdpd/getroute.c +++ b/minissdpd/getroute.c @@ -172,7 +172,7 @@ get_src_for_route_to(const struct sockaddr * dst, if(src_len && src) { if(*src_len < RTA_PAYLOAD(rta)) { syslog(LOG_WARNING, "cannot copy src: %u<%lu", - (unsigned)*src_len, RTA_PAYLOAD(rta)); + (unsigned)*src_len, (unsigned long)RTA_PAYLOAD(rta)); goto error; } *src_len = RTA_PAYLOAD(rta);