fix warning comparing integers of different width

This commit is contained in:
arvidn 2019-11-14 08:56:56 +01:00 committed by Arvid Norberg
parent e5ba4fa640
commit 6d441da9e5
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ namespace {
}
int if_index = 0;
int rt_len = int(RTM_PAYLOAD(nl_hdr));
auto rt_len = RTM_PAYLOAD(nl_hdr);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wcast-align"