[PATCH] small cleanup
Volker Lendecke
vl at samba.org
Tue Jun 21 14:26:54 UTC 2016
Hi!
Review appreciated!
Thanks,
Volker
-------------- next part --------------
>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