summaryrefslogtreecommitdiff
path: root/src/id.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/id.c')
-rw-r--r--src/id.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/id.c b/src/id.c
index 6c54633bc..23c4ad506 100644
--- a/src/id.c
+++ b/src/id.c
@@ -104,8 +104,7 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- while ((optc = getopt_long (argc, argv, "agnruG", longopts, (int *) 0))
- != EOF)
+ while ((optc = getopt_long (argc, argv, "agnruG", longopts, NULL)) != -1)
{
switch (optc)
{