Merge pull request #101 from pyzhu/master

avoid compile warning
This commit is contained in:
Thomas BERNARD 2015-02-11 23:33:47 +01:00
commit d5ccd5e86e
1 changed files with 1 additions and 1 deletions

View File

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