summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/smb2/util.c')
-rw-r--r--source4/torture/smb2/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 85cf0f7fba..4d078adbea 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -544,9 +544,9 @@ uint32_t smb2_util_share_access(const char *sharemode)
return val;
}
-uint32_t smb2_util_oplock_level(const char *op)
+uint8_t smb2_util_oplock_level(const char *op)
{
- uint32_t val = SMB2_OPLOCK_LEVEL_NONE;
+ uint8_t val = SMB2_OPLOCK_LEVEL_NONE;
int i;
for (i = 0; i < strlen(op); i++) {