From 55bc079b9ab24f583bf1ec66947e4bcb8a112794 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 10 Sep 2010 22:35:10 +0200 Subject: s4:torture/locktest.c - add a cast in order to quiet a warning on Solaris cc --- source4/torture/locktest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') 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; -- cgit