mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-12-12 19:23:34 +08:00
8b59612f99
A recent cleanup causes a compile warning on Debian jessie:
CC utils.o
utils.c: In function ‘get_addr_1’:
utils.c:486:21: warning: passing argument 1 of ‘ll_addr_a2n’ from incompatible pointer type
len = ll_addr_a2n(&addr->data, sizeof(addr->data), name);
^
In file included from utils.c:34:0:
../include/rt_names.h:27:5: note: expected ‘char *’ but argument is of type ‘__u32 (*)[8]’
int ll_addr_a2n(char *lladdr, int len, const char *arg);
^
Revert the removal of the typecast
Fixes:
|
||
---|---|---|
.. | ||
bpf.c | ||
color.c | ||
coverity_model.c | ||
dnet_ntop.c | ||
dnet_pton.c | ||
exec.c | ||
fs.c | ||
inet_proto.c | ||
ipx_ntop.c | ||
ipx_pton.c | ||
json_writer.c | ||
libgenl.c | ||
libnetlink.c | ||
ll_addr.c | ||
ll_map.c | ||
ll_proto.c | ||
ll_types.c | ||
Makefile | ||
mpls_ntop.c | ||
mpls_pton.c | ||
names.c | ||
namespace.c | ||
rt_names.c | ||
utils.c |