summaryrefslogtreecommitdiff
path: root/source3/torture/locktest.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-16 08:24:44 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-16 08:24:44 +0000
commitf7f020021051ae143d52925aad4c8729ba4da411 (patch)
tree5676c13f221427310934856c327e7a359848a6d7 /source3/torture/locktest.c
parent6ff605c2833940e26d35825db473171b28da986f (diff)
downloadsamba-f7f020021051ae143d52925aad4c8729ba4da411.tar.gz
samba-f7f020021051ae143d52925aad4c8729ba4da411.tar.bz2
samba-f7f020021051ae143d52925aad4c8729ba4da411.zip
Fix (I hope) for a number of little compile warnings found by the IRIX
compilers on the build farm. Andrew Bartlett (This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
Diffstat (limited to 'source3/torture/locktest.c')
-rw-r--r--source3/torture/locktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index 5ace2622ac..b107afc895 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -58,7 +58,7 @@ enum lock_op {OP_LOCK, OP_UNLOCK, OP_REOPEN};
struct record {
enum lock_op lock_op;
- int lock_type;
+ enum brl_type lock_type;
char conn, f;
SMB_BIG_UINT start, len;
char needed;
@@ -271,7 +271,7 @@ static BOOL test_one(struct cli_state *cli[NSERVERS][NCONNECTIONS],
unsigned f = rec->f;
SMB_BIG_UINT start = rec->start;
SMB_BIG_UINT len = rec->len;
- unsigned op = rec->lock_type;
+ enum brl_type op = rec->lock_type;
int server;
BOOL ret[NSERVERS];