diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 1999-08-27 10:05:08 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-08-27 10:05:08 +0000 |
| commit | 1428ce0f833e66c6b9265f12c356791ef2f44156 (patch) | |
| tree | eee1c6d9282890a50d2700f55d472e8c00b2d0c3 | |
| parent | 35edbffe27d0482c7adfc659c81184432aa16cfa (diff) | |
Notes
| -rw-r--r-- | contrib/gcc/c-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/c-common.c b/contrib/gcc/c-common.c index 5e5b712428b9..53a8bbad1895 100644 --- a/contrib/gcc/c-common.c +++ b/contrib/gcc/c-common.c @@ -1615,7 +1615,8 @@ check_format_info (info, params) { if (*format_chars == 'h' || *format_chars == 'l') length_char = *format_chars++; - else if (*format_chars == 'q' || *format_chars == 'L') + else if ((*format_chars == 'q' || *format_chars == 'L') + && !flag_format_extensions) { length_char = *format_chars++; if (pedantic) |
