[PATCH] small cleanup

Jeremy Allison jra at samba.org
Tue Jun 21 16:24:59 UTC 2016


On Tue, Jun 21, 2016 at 04:26:54PM +0200, Volker Lendecke wrote:
> Hi!
> 
> Review appreciated!

LGTM. Pushed !

> From 30d3165084f5ce6fe1d10b74cdabb8c8e54a56f2 Mon Sep 17 00:00:00 2001
> From: Volker Lendecke <vl at samba.org>
> Date: Tue, 21 Jun 2016 16:23:38 +0200
> Subject: [PATCH] smbd: Fix a signed/unsigned hickup
> 
> Signed-off-by: Volker Lendecke <vl at samba.org>
> ---
>  source3/smbd/open.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/source3/smbd/open.c b/source3/smbd/open.c
> index af1c1de..0c46eb1 100644
> --- a/source3/smbd/open.c
> +++ b/source3/smbd/open.c
> @@ -1213,7 +1213,7 @@ static NTSTATUS open_mode_check(connection_struct *conn,
>  				uint32_t access_mask,
>  				uint32_t share_access)
>  {
> -	int i;
> +	uint32_t i;
>  
>  	if(lck->data->num_share_modes == 0) {
>  		return NT_STATUS_OK;
> -- 
> 2.1.4
> 




More information about the samba-technical mailing list