mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-18 18:31:15 +00:00
avoid compile warning
This commit is contained in:
parent
bdb028eea5
commit
a93028913c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user