1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

ctdb: Align variable signedness

ipalloc_state->num_nodes is uint32_t
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2023-08-04 15:35:46 +02:00
parent ce3243d7b2
commit 23ccb1c0ca

View File

@ -30,7 +30,8 @@
bool ipalloc_deterministic(struct ipalloc_state *ipalloc_state) bool ipalloc_deterministic(struct ipalloc_state *ipalloc_state)
{ {
struct public_ip_list *t; struct public_ip_list *t;
int i, numnodes; int i;
uint32_t numnodes;
numnodes = ipalloc_state->num; numnodes = ipalloc_state->num;