diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-06-24 09:38:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 09:38:43 +0000 |
commit | f18dae194ce16c6791616e8f9f8d4295ccc77244 (patch) | |
tree | b4a2a24f8b9a74d5c407d33c1d744872ccedb643 /gcc | |
parent | 23815a535e1aaf89e256e1bb338f1bf8dcfa933c (diff) | |
parent | c8030bb6b147eefa329009441bf956b5ce871aaa (diff) | |
download | gcc-f18dae194ce16c6791616e8f9f8d4295ccc77244.zip gcc-f18dae194ce16c6791616e8f9f8d4295ccc77244.tar.gz gcc-f18dae194ce16c6791616e8f9f8d4295ccc77244.tar.bz2 |
Merge #1331
1331: Fix remaining misuses of format specifiers on 32-bit targets r=CohenArthur a=CohenArthur
> Unfortunately, another instance of this issue sneaked in after my original patch.
Fixed by the attached patch, which makes this work again on i386-pc-solaris2.11
Co-authored-by: Rainer Orth <ro@gcc.gnu.org>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/backend/rust-compile-intrinsic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-compile-intrinsic.cc b/gcc/rust/backend/rust-compile-intrinsic.cc index e93480d..57a952f 100644 --- a/gcc/rust/backend/rust-compile-intrinsic.cc +++ b/gcc/rust/backend/rust-compile-intrinsic.cc @@ -526,10 +526,10 @@ transmute_intrinsic_handler (Context *ctx, TyTy::BaseType *fntype_tyty) "dependently-sized types"); rust_inform (fntype->get_ident ().locus, "source type: %qs (%lu bits)", fntype->get_params ().at (0).second->as_string ().c_str (), - source_size); + (unsigned long) source_size); rust_inform (fntype->get_ident ().locus, "target type: %qs (%lu bits)", fntype->get_return_type ()->as_string ().c_str (), - target_size); + (unsigned long) target_size); } tree enclosing_scope = NULL_TREE; |