git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115e9ea
)
smbd: Align integer types in smbd_do_unlocking()
author
Volker Lendecke
<vl@samba.org>
Mon, 27 May 2019 11:45:42 +0000
(13:45 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 28 May 2019 20:27:16 +0000
(20:27 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 188bc4e900bc7485c0f8985b18ee33ca4129655e..48042f84a733c586e489d00a5d2afed06b4cd487 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-8274,9
+8274,9
@@
NTSTATUS smbd_do_unlocking(struct smb_request *req,
uint16_t num_ulocks,
struct smbd_lock_element *ulocks)
{
-
in
t i;
+
uint16_
t i;
- for(i = 0; i <
(int)
num_ulocks; i++) {
+ for(i = 0; i < num_ulocks; i++) {
struct smbd_lock_element *e = &ulocks[i];
NTSTATUS status;