summaryrefslogtreecommitdiff
path: root/source4/libcli/namequery.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/namequery.c')
-rw-r--r--source4/libcli/namequery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/namequery.c b/source4/libcli/namequery.c
index fc6a93d8e1..18d1ce3e93 100644
--- a/source4/libcli/namequery.c
+++ b/source4/libcli/namequery.c
@@ -226,8 +226,8 @@ int ip_compare(struct in_addr *ip1, struct in_addr *ip2)
struct in_addr ip;
int bits1, bits2;
ip = *iface_n_bcast(i);
- bits1 = matching_quad_bits((uchar *)&ip1->s_addr, (uchar *)&ip.s_addr);
- bits2 = matching_quad_bits((uchar *)&ip2->s_addr, (uchar *)&ip.s_addr);
+ bits1 = matching_quad_bits((uint8_t *)&ip1->s_addr, (uint8_t *)&ip.s_addr);
+ bits2 = matching_quad_bits((uint8_t *)&ip2->s_addr, (uint8_t *)&ip.s_addr);
max_bits1 = MAX(bits1, max_bits1);
max_bits2 = MAX(bits2, max_bits2);
}