summaryrefslogtreecommitdiffstats
path: root/test/atomic_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/atomic_reader.c')
-rw-r--r--test/atomic_reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/atomic_reader.c b/test/atomic_reader.c
index c8bbbae..12e2d5c 100644
--- a/test/atomic_reader.c
+++ b/test/atomic_reader.c
@@ -114,7 +114,7 @@ verify(int fd, unsigned int k)
} /* end if */
/* Position the file at the beginning */
- if (lseek(fd, (off_t)0, SEEK_SET) < 0) {
+ if (lseek(fd, 0, SEEK_SET) < 0) {
printf("READER: error from lseek\n");
goto error;
} /* end if */