diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-04-24 06:27:03 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-04-24 06:27:03 +0000 |
commit | 753a73c846c3675638b1fa4610c0360e2acd70ec (patch) | |
tree | 7a1bf1ad981da5b5b8419d0a9afcf1b3e6e91e75 /gcc/c-common.c | |
parent | b9e5c220825d76959997695cde171e42b49e0f29 (diff) | |
download | gcc-753a73c846c3675638b1fa4610c0360e2acd70ec.zip gcc-753a73c846c3675638b1fa4610c0360e2acd70ec.tar.gz gcc-753a73c846c3675638b1fa4610c0360e2acd70ec.tar.bz2 |
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
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 2ea49d6..16c1096 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); |