From 85221cd882cd0622bdab30d60e7907e520019905 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 23 Sep 2016 18:43:04 -0700 Subject: [PATCH] messaging4: Fix signed/unsigned hickups Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source4/lib/messaging/messaging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index d0beef66241..c0b64be0f58 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -149,7 +149,7 @@ NTSTATUS imessaging_register(struct imessaging_context *msg, void *private_data, /* possibly expand dispatch array */ if (msg_type >= msg->num_types) { struct dispatch_fn **dp; - int i; + uint32_t i; dp = talloc_realloc(msg, msg->dispatch, struct dispatch_fn *, msg_type+1); NT_STATUS_HAVE_NO_MEMORY(dp); msg->dispatch = dp; @@ -728,7 +728,7 @@ static int all_servers_func(const char *name, unsigned num_servers, struct irpc_name_records *name_records = talloc_get_type( private_data, struct irpc_name_records); struct irpc_name_record *name_record; - int i; + uint32_t i; name_records->names = talloc_realloc(name_records, name_records->names, -- 2.11.4.GIT