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);