Fix a typo:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 24 Apr 1998 06:27:03 +0000 (06:27 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 24 Apr 1998 06:27:03 +0000 (06:27 +0000)
* c-common.c (check_format_info): Don't check for the 'x' format
character twice, instead check for 'x' and 'X'

From-SVN: r19396

gcc/ChangeLog
gcc/c-common.c

index 00b0f09a5b6234fb747f4fff54685275197f7030..524b84b1b4941634571529f2bde836479afbc4f6 100644 (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
index 2ea49d6fcad3fceaf4311a49f2e8747206c2e3df..16c109698d4e8746aab151b7eeff4ec13407515f 100644 (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);