From: Kaveh R. Ghazi Date: Fri, 24 Apr 1998 06:27:03 +0000 (+0000) Subject: Fix a typo: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=753a73c846c3675638b1fa4610c0360e2acd70ec;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00b0f09a5b6..524b84b1b49 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi + + * 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 * Makefile.in (libgcc2.ready): Add explicit dependancy from diff --git a/gcc/c-common.c b/gcc/c-common.c index 2ea49d6fcad..16c109698d4 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -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);