diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-20 14:34:53 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-05-20 16:41:44 +0200 |
commit | 2fa581537b068e5ddcaee68fd7b92e290fc5fc53 (patch) | |
tree | bcd19f51a33a389f9da1ca09b5b4b0c8e2d2cd5b /libtests/qintc.cc | |
parent | 41ec7eda54e2263eeb1aee4c3a0616c9c2777fb7 (diff) | |
download | qpdf-2fa581537b068e5ddcaee68fd7b92e290fc5fc53.tar.zst |
Use auto when initializing with a cast
Diffstat (limited to 'libtests/qintc.cc')
-rw-r--r-- | libtests/qintc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtests/qintc.cc b/libtests/qintc.cc index 0cf3924f..5b985644 100644 --- a/libtests/qintc.cc +++ b/libtests/qintc.cc @@ -74,7 +74,7 @@ main() uint64_t ul1 = 1099511627776LL; // Too big for 32-bit uint64_t ul2 = 12345; // Fits into 32-bit int32_t i2 = 81; // Fits in char and uchar - signed char c1 = static_cast<signed char>('\xf7'); // Signed value when char + auto c1 = static_cast<signed char>('\xf7'); // Signed value when char char c2 = 'W'; // char; may be signed or unsigned // Verify i1 and u1 have same bit pattern |