mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:torture/locktest.c - add a cast in order to quiet a warning on Solaris cc
This commit is contained in:
parent
ace43d4ccd
commit
55bc079b9a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user