git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace43d4
)
s4:torture/locktest.c - add a cast in order to quiet a warning on Solaris cc
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Fri, 10 Sep 2010 20:35:10 +0000
(22:35 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Fri, 10 Sep 2010 20:45:50 +0000
(22:45 +0200)
source4/torture/locktest.c
patch
|
blob
|
history
diff --git
a/source4/torture/locktest.c
b/source4/torture/locktest.c
index 7a236be463a19b0a9ff9f59e9b98b9e3df9bd996..dff014bacc0fc9dd48a5cee357f2e91027894314 100644
(file)
--- a/
source4/torture/locktest.c
+++ b/
source4/torture/locktest.c
@@
-233,7
+233,7
@@
static bool test_one(struct smbcli_state *cli[NSERVERS][NCONNECTIONS],
int fn=fnum[server][conn][f];
if (!(tree->session->transport->negotiate.capabilities & CAP_LARGE_FILES)) {
- res=smbcli_lock(tree, fn, start, len, LOCK_TIMEOUT, rec->lock_op);
+ res=smbcli_lock(tree, fn, start, len, LOCK_TIMEOUT,
(enum brl_type)
rec->lock_op);
} else {
union smb_lock parms;
int ltype;