summaryrefslogtreecommitdiff
path: root/usr.bin/grep
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/binary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/grep/binary.c b/usr.bin/grep/binary.c
index e8ff9188fd8..076cad484d7 100644
--- a/usr.bin/grep/binary.c
+++ b/usr.bin/grep/binary.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: binary.c,v 1.5 2003/06/23 00:55:09 tedu Exp $ */
+/* $OpenBSD: binary.c,v 1.6 2003/06/25 04:03:47 tedu Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -61,7 +61,7 @@ gzbin_file(gzFile *f)
char buf[BUFFER_SIZE];
int i, m;
- if (gzseek(f, SEEK_SET, 0) == -1)
+ if (gzseek(f, 0L, SEEK_SET) == -1)
return 0;
if ((m = (int)gzread(f, buf, BUFFER_SIZE)) == 0)