diff options
author | Tobias Burnus <burnus@gcc.gnu.org> | 2008-06-13 20:43:25 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2008-06-13 20:43:25 +0200 |
commit | 60dcf38a00c16f909d8a80177581bf493b2552ca (patch) | |
tree | dc15be1534f191b5b0543eaa880a6d20b855519f /libgfortran/generated/count_1_l.c | |
parent | 357ad64f1cc374a7d63f0ac509d398a628cb56cc (diff) | |
download | gcc-60dcf38a00c16f909d8a80177581bf493b2552ca.zip gcc-60dcf38a00c16f909d8a80177581bf493b2552ca.tar.gz gcc-60dcf38a00c16f909d8a80177581bf493b2552ca.tar.bz2 |
re PR fortran/36518 (libgfortran: "warning: format '%d' expects type 'int', but")
2008-06-13 Tobias Burnus <burnus@net-b.de>
PR libgfortran/36518
* configure.ac (AM_CFLAGS): Add -Werror.
* configure: Regenerate.
* m4/ifunction_logical.m4: Cast "n" to "(int)".
* generated/any_l16.c: Regenerate.
* generated/any_l2.c: Regenerate.
* generated/all_l1.c: Regenerate.
* generated/all_l2.c: Regenerate.
* generated/all_l16.c: Regenerate.
* generated/any_l4.c: Regenerate.
* generated/count_4_l.c: Regenerate.
* generated/count_8_l.c: Regenerate.
* generated/all_l4.c: Regenerate.
* generated/count_1_l.c: Regenerate.
* generated/count_16_l.c: Regenerate.
* generated/any_l8.c: Regenerate.
* generated/count_2_l.c: Regenerate.
* generated/any_l1.c: Regenerate.
* generated/all_l8.c: Regenerate.
From-SVN: r136761
Diffstat (limited to 'libgfortran/generated/count_1_l.c')
-rw-r--r-- | libgfortran/generated/count_1_l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/generated/count_1_l.c b/libgfortran/generated/count_1_l.c index 52ae34b..67c9dbc 100644 --- a/libgfortran/generated/count_1_l.c +++ b/libgfortran/generated/count_1_l.c @@ -138,7 +138,7 @@ count_1_l (gfc_array_i1 * const restrict retarray, if (extent[n] != ret_extent) runtime_error ("Incorrect extent in return value of" " COUNT intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " is %ld, should be %ld", (int) n + 1, (long int) ret_extent, (long int) extent[n]); } } |