From: Volker Lendecke Date: Thu, 31 Dec 2020 09:16:21 +0000 (+0100) Subject: librpc: Align a few integer types X-Git-Tag: samba-4.14.0rc1~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc01ba1b0eac7d0266ee9da3a2b6d28fee5c5edc;p=thirdparty%2Fsamba.git librpc: Align a few integer types Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- 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; }