diff options
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c index 9ee59be5d5..4189a2d8e4 100644 --- a/source3/locking/posix.c +++ b/source3/locking/posix.c @@ -114,7 +114,7 @@ static bool posix_lock_in_range(off_t *offset_out, off_t *count_out, * any Win32 locks of length zero. JRA. */ - if (count == (off_t)0) { + if (count == 0) { DEBUG(10,("posix_lock_in_range: count = 0, ignoring.\n")); return False; } |