From bee198def5f63d42c7d6395d0637939df799cc77 Mon Sep 17 00:00:00 2001 From: Dominick Meglio Date: Sat, 9 Apr 2005 23:46:31 +0000 Subject: Removed usage of u_int and u_char --- ares/bitncmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ares/bitncmp.c') diff --git a/ares/bitncmp.c b/ares/bitncmp.c index 3986dc6c8..0da540fff 100644 --- a/ares/bitncmp.c +++ b/ares/bitncmp.c @@ -36,7 +36,7 @@ */ int ares_bitncmp(const void *l, const void *r, int n) { - u_int lb, rb; + unsigned int lb, rb; int x, b; b = n / 8; @@ -44,8 +44,8 @@ ares_bitncmp(const void *l, const void *r, int n) { if (x) return (x); - lb = ((const u_char *)l)[b]; - rb = ((const u_char *)r)[b]; + lb = ((const unsigned char *)l)[b]; + rb = ((const unsigned char *)r)[b]; for (b = n % 8; b > 0; b--) { if ((lb & 0x80) != (rb & 0x80)) { if (lb & 0x80) -- cgit v1.2.3