* strings.c (main): Correct handling of numeric argument.
This commit is contained in:
parent
893addd8f4
commit
221f77a9db
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
1999-12-26 Ian Lance Taylor <ian@zembu.com>
|
||||||
|
|
||||||
|
* strings.c (main): Correct handling of numeric argument.
|
||||||
|
|
||||||
1999-12-23 Andrew Haley <aph@cygnus.com>
|
1999-12-23 Andrew Haley <aph@cygnus.com>
|
||||||
|
|
||||||
* dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
|
* dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
|
||||||
|
|
|
@ -203,7 +203,7 @@ main (argc, argv)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (string_min < 0)
|
if (string_min < 0)
|
||||||
string_min = optc;
|
string_min = optc - '0';
|
||||||
else
|
else
|
||||||
string_min = string_min * 10 + optc - '0';
|
string_min = string_min * 10 + optc - '0';
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue