diff --git a/miniupnpd/linux/getroute.c b/miniupnpd/linux/getroute.c index e6386d0..40bcbb6 100644 --- a/miniupnpd/linux/getroute.c +++ b/miniupnpd/linux/getroute.c @@ -145,7 +145,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);