commit | 98ee06d3d46aa7f89c204681c7075b53300a6a6e | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sun Dec 31 18:57:37 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sun Dec 31 18:57:37 2006 +0000 |
tree | 0f5cafbb22cd83fb73e024acba658c7a51582951 | |
parent | 806116b23407bdf95f22646f11f50b1d14e1cfc2 [diff] [blame] |
stop using __u32 etc. uint32_t is there for a reason
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index e6130e4..bc9963f 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c
@@ -616,7 +616,7 @@ static int default_scope(inet_prefix *lcl) { if (lcl->family == AF_INET) { - if (lcl->bytelen >= 1 && *(__u8*)&lcl->data == 127) + if (lcl->bytelen >= 1 && *(uint8_t*)&lcl->data == 127) return RT_SCOPE_HOST; } return 0;