summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-10 22:35:10 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-10 22:45:50 +0200
commit55bc079b9ab24f583bf1ec66947e4bcb8a112794 (patch)
treed8371f833ccc0d02751ed4e8e3a2a25e8ed554f4 /source4
parentace43d4ccd5e225bbefec7e9f3a3f64e07e3c99a (diff)
downloadsamba-55bc079b9ab24f583bf1ec66947e4bcb8a112794.tar.gz
samba-55bc079b9ab24f583bf1ec66947e4bcb8a112794.tar.bz2
samba-55bc079b9ab24f583bf1ec66947e4bcb8a112794.zip
s4:torture/locktest.c - add a cast in order to quiet a warning on Solaris cc
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/locktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c
index 7a236be463..dff014bacc 100644
--- 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;