Fix a typo:

* c-common.c (check_format_info): Don't check for the 'x' format
	character twice, instead check for 'x' and 'X'

From-SVN: r19396
This commit is contained in:
Kaveh R. Ghazi 1998-04-24 06:27:03 +00:00 committed by Kaveh Ghazi
parent b9e5c22082
commit 753a73c846
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-common.c (check_format_info): Don't check for the 'x' format
character twice, instead check for 'x' and 'X'
Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (libgcc2.ready): Add explicit dependancy from

View File

@ -1644,7 +1644,7 @@ check_format_info (info, params)
continue;
integral_format = (format_char == 'd' || format_char == 'i'
|| format_char == 'o' || format_char == 'u'
|| format_char == 'x' || format_char == 'x');
|| format_char == 'x' || format_char == 'X');
if (precise && index (flag_chars, '0') != 0 && integral_format)
warning ("`0' flag ignored with precision specifier and `%c' format",
format_char);