Skip to content

Commit

Permalink
fixed signedness compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Eckenfels committed Oct 11, 2006
1 parent 4347ec3 commit 2af5890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/util-ank.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
2 changes: 1 addition & 1 deletion lib/util-ank.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2af5890

Please sign in to comment.