From: Paul Eggert Date: Mon, 12 Jul 1993 21:10:27 +0000 (+0000) Subject: (unsigned_conversion_warning): Just use `warning', X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90c939d4ee5262bc3fe87d3b98a3ae47be5c4341;p=gcc.git (unsigned_conversion_warning): Just use `warning', not `pedwarn'; these diagnostics are not required by Standard C. From-SVN: r4909 --- diff --git a/gcc/c-common.c b/gcc/c-common.c index 087332c98b9..fae1e44550b 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -387,9 +387,9 @@ unsigned_conversion_warning (result, operand) { if (!int_fits_type_p (operand, signed_type (TREE_TYPE (result)))) /* This detects cases like converting -129 or 256 to unsigned char. */ - pedwarn ("large integer implicitly truncated to unsigned type"); + warning ("large integer implicitly truncated to unsigned type"); else if (warn_conversion) - pedwarn ("negative integer implicitly converted to unsigned type"); + warning ("negative integer implicitly converted to unsigned type"); } }