Snippets for addrwatch 1.0.2 from Alpine s390x
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-s390x/community/addrwatch/addrwatch-1.0.2-r1.log.
-
parse.c:130:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 130 | if (p->len < (ip6e->ip6e_len + 1) * 8) { | ^ -
mcache.c:56:51: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 56 | node = (struct mcache_node *)calloc(sizeof(*node), 1); | ^ -
addrwatch.c:534:17: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 534 | dev = pcap_lookupdev(errbuf); | ^~~ -
storage.c:27:46: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 27 | ip = (struct ip_node *)calloc(sizeof(struct ip_node), 1); | ^~~~~~