summaryrefslogtreecommitdiff
path: root/src/uniq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uniq.c')
-rw-r--r--src/uniq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uniq.c b/src/uniq.c
index 237eb1124..f716f38ea 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -305,7 +305,7 @@ main (int argc, char **argv)
countmode = count_none;
while ((optc = getopt_long (argc, argv, "0123456789cdf:is:uw:", longopts,
- (int *) 0)) != EOF)
+ NULL)) != -1)
{
switch (optc)
{