summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r--source4/torture/gentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 15956d3b3b..59775e02d9 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -504,7 +504,7 @@ static uint16_t gen_pid(void)
/*
generate a lock count
*/
-static SMB_OFF_T gen_lock_count(void)
+static off_t gen_lock_count(void)
{
return gen_int_range(0, 3);
}