fix warning comparing integers of different width
This commit is contained in:
parent
e5ba4fa640
commit
6d441da9e5
|
@ -297,7 +297,7 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
int if_index = 0;
|
int if_index = 0;
|
||||||
int rt_len = int(RTM_PAYLOAD(nl_hdr));
|
auto rt_len = RTM_PAYLOAD(nl_hdr);
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wcast-align"
|
#pragma clang diagnostic ignored "-Wcast-align"
|
||||||
|
|
Loading…
Reference in New Issue