From 80d390a26096f05c0c9d05efb06d031141663b61 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 18 Feb 1996 19:26:39 -0500 Subject: [PATCH] Install latest version of last patch. From-SVN: r11293 --- gcc/c-common.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/c-common.c b/gcc/c-common.c index 492aa4b08f2..eb6ccafba84 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1081,12 +1081,14 @@ check_format_info (info, params) } } } - if (*format_chars == 'h' || *format_chars == 'l' || *format_chars == 'q' || - *format_chars == 'L') + if (*format_chars == 'h' || *format_chars == 'l') + length_char = *format_chars++; + else if (*format_chars == 'q' || *format_chars == 'L') { length_char = *format_chars++; if (pedantic) - pedwarn ("ANSI C does not support the `q' length modifier"); + pedwarn ("ANSI C does not support the `%c' length modifier", + length_char); } else length_char = 0; -- 2.30.2