diff options
author | Bernd Eckenfels <net-tools@lina.inka.de> | 2006-10-11 01:14:33 +0000 |
---|---|---|
committer | Bernd Eckenfels <net-tools@lina.inka.de> | 2006-10-11 01:14:33 +0000 |
commit | 2af58905557e26002b4df9f205d49ae0ba6f3a46 (patch) | |
tree | c084487f1609c373f92dff0dee22524025069c1e | |
parent | Fixed Debian Bug #392263 reported by Jochen Voss (diff) | |
download | net-tools-2af58905557e26002b4df9f205d49ae0ba6f3a46.tar.gz net-tools-2af58905557e26002b4df9f205d49ae0ba6f3a46.tar.bz2 net-tools-2af58905557e26002b4df9f205d49ae0ba6f3a46.zip |
fixed signedness compiler warning
-rw-r--r-- | include/util-ank.h | 2 | ||||
-rw-r--r-- | lib/util-ank.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/util-ank.h b/include/util-ank.h index 04ab16c..c8fcd08 100644 --- a/include/util-ank.h +++ b/include/util-ank.h @@ -75,6 +75,6 @@ extern int do_qdisc(int argc, char **argv); extern int do_class(int argc, char **argv); extern int do_filter(int argc, char **argv); -extern const char *format_host(int af, void *addr, __u8 *abuf, int alen); +extern const char *format_host(int af, void *addr, char *abuf, int alen); #endif /* __UTILS_H__ */ diff --git a/lib/util-ank.c b/lib/util-ank.c index 43a7f1c..b077f35 100644 --- a/lib/util-ank.c +++ b/lib/util-ank.c @@ -293,7 +293,7 @@ int inet_addr_match(inet_prefix *a, inet_prefix *b, int bits) return 0; } -const char *format_host(int af, void *addr, __u8 *abuf, int alen) +const char *format_host(int af, void *addr, char *abuf, int alen) { #ifdef RESOLVE_HOSTNAMES if (resolve_hosts) { |