* lexsup.c (parse_args): Use strtoul for --split-by-reloc
argument.
1999-09-12 Donn Terry <donn@interix.com>
+ * lexsup.c (parse_args): Use strtoul for --split-by-reloc
+ argument.
+
* lexsup.c (parse_args): If we get an unrecognized argument,
mention --help.
ignored. Someday we should handle it correctly. FIXME. */
break;
case OPTION_SPLIT_BY_RELOC:
- config.split_by_reloc = atoi (optarg);
+ config.split_by_reloc = strtoul (optarg, NULL, 0);
break;
case OPTION_SPLIT_BY_FILE:
config.split_by_file = true;