aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-09-17 18:13:19 +0200
committerJay Berkenbilt <ejb@ql.org>2019-09-17 18:18:09 +0200
commit6d81f014764e3bb9452d3697b84093bed0668f02 (patch)
treeca158b5178015b746a1f2fafaec47090e2421be6 /libtests/qtest
parent8c34d67b88c3b7bccd16a3d825dab3cc55f8a8f8 (diff)
downloadqpdf-6d81f014764e3bb9452d3697b84093bed0668f02.tar.zst
Don't assume char is signed in int conversion tests (fixes #361)
Diffstat (limited to 'libtests/qtest')
-rw-r--r--libtests/qtest/qintc/qintc.out4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtests/qtest/qintc/qintc.out b/libtests/qtest/qintc/qintc.out
index 5c6479e2..2a2ff9f5 100644
--- a/libtests/qtest/qintc/qintc.out
+++ b/libtests/qtest/qintc/qintc.out
@@ -10,4 +10,6 @@ QIntC::to_offset<int32_t>(i1): -1153374643 -1153374643 PASSED
QIntC::to_ulonglong<int32_t>(i1): integer out of range converting -1153374643 from a 4-byte signed type to a 8-byte unsigned type PASSED
QIntC::to_char<int32_t>(i2): 81 Q PASSED
QIntC::to_uchar<int32_t>(i2): 81 Q PASSED
-QIntC::to_uchar<char>(c1): integer out of range converting ÷ from a 1-byte signed type to a 1-byte unsigned type PASSED
+QIntC::to_uchar<signed char>(c1): integer out of range converting ÷ from a 1-byte signed type to a 1-byte unsigned type PASSED
+QIntC::to_uchar<char>(c2): W W PASSED
+QIntC::to_char<char>(c2): W W PASSED