diff options
author | Richard Guenther <rguenther@suse.de> | 2009-11-03 11:45:00 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-11-03 11:45:00 +0000 |
commit | b56973d1cd648391d190fb00eef0c60722ae1855 (patch) | |
tree | 3e2dd4b0d2bdd6de35520066671ac02e91686cce /gcc/c-common.c | |
parent | 90bc4002b6078e261ce5afcf0d7f74df51f8fa93 (diff) | |
download | gcc-b56973d1cd648391d190fb00eef0c60722ae1855.zip gcc-b56973d1cd648391d190fb00eef0c60722ae1855.tar.gz gcc-b56973d1cd648391d190fb00eef0c60722ae1855.tar.bz2 |
c-common.c (fold_offsetof_1): Use HOST_WIDE_INT_PRINT_DEC.
2009-11-03 Richard Guenther <rguenther@suse.de>
* c-common.c (fold_offsetof_1): Use HOST_WIDE_INT_PRINT_DEC.
From-SVN: r153846
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 91de41c..50f316d 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -8403,7 +8403,8 @@ fold_offsetof_1 (tree expr, tree stop_ref) HOST_WIDE_INT index = int_cst_value (t); if (index > int_cst_value (nelts)) warning (OPT_Warray_bounds, - "index %ld denotes an offset greater than size of %qT", + "index " HOST_WIDE_INT_PRINT_DEC " denotes an offset " + "greater than size of %qT", index, TREE_TYPE (TREE_OPERAND (expr, 0))); } break; |