diff options
author | Volker Lendecke <vl@samba.org> | 2020-07-21 15:45:24 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-08-17 19:35:37 +0000 |
commit | b0d270d934b89cc491833b23c2183b7aa21be858 (patch) | |
tree | 947ab9617c9774f647942c2139fd329b861f90c4 | |
parent | d5cca8d0fcb063d39572ca88903a4582c2425175 (diff) | |
download | samba-b0d270d934b89cc491833b23c2183b7aa21be858.tar.gz |
lib: Align integer types in same_net()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | lib/util/util_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util_net.c b/lib/util/util_net.c index 8b416455a9f..8f47eb88ab5 100644 --- a/lib/util/util_net.c +++ b/lib/util/util_net.c @@ -717,7 +717,7 @@ bool same_net(const struct sockaddr *ip1, char *p1 = (char *)&ip1_6.sin6_addr; char *p2 = (char *)&ip2_6.sin6_addr; char *m = (char *)&mask_6.sin6_addr; - int i; + size_t i; for (i = 0; i < sizeof(struct in6_addr); i++) { *p1++ &= *m; |