update from automake-1.1o
[gnulib.git] / lib / long-options.c
index cd2c68d..baf2c2a 100644 (file)
@@ -53,7 +53,7 @@ parse_long_options (argc, argv, command_name, package, version, usage)
   opterr = 0;
 
   if (argc == 2
-      && (c = getopt_long (argc, argv, "+", long_options, (int *) 0)) != EOF)
+      && (c = getopt_long (argc, argv, "+", long_options, NULL)) != -1)
     {
       switch (c)
        {