minissdpd: Fix compiler warning

Same as a93028913c for miniupnpd
This commit is contained in:
Yuriy M. Kaminskiy 2015-07-26 16:25:29 +03:00
parent 1da63faa4f
commit 1542d55a2c
1 changed files with 1 additions and 1 deletions

View File

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