From cc01ba1b0eac7d0266ee9da3a2b6d28fee5c5edc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 31 Dec 2020 10:16:21 +0100 Subject: [PATCH] librpc: Align a few integer types Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- librpc/rpc/binding.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c index 0a78be5bf16..29be6ae16b2 100644 --- a/librpc/rpc/binding.c +++ b/librpc/rpc/binding.c @@ -213,7 +213,7 @@ _PUBLIC_ char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_bi { char *s = talloc_strdup(mem_ctx, ""); char *o = s; - int i; + size_t i; const char *t_name = NULL; bool option_section = false; const char *target_hostname = NULL; @@ -1208,7 +1208,7 @@ static NTSTATUS dcerpc_floor_set_rhs_data(TALLOC_CTX *mem_ctx, enum dcerpc_transport_t dcerpc_transport_by_endpoint_protocol(int prot) { - int i; + size_t i; /* Find a transport that has 'prot' as 4th protocol */ for (i=0;itransport)); return NT_STATUS_UNSUCCESSFUL; } -- 2.47.2