From 6d81f014764e3bb9452d3697b84093bed0668f02 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 17 Sep 2019 12:13:19 -0400 Subject: Don't assume char is signed in int conversion tests (fixes #361) --- libtests/qtest/qintc/qintc.out | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libtests/qtest') 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(i1): -1153374643 -1153374643 PASSED QIntC::to_ulonglong(i1): integer out of range converting -1153374643 from a 4-byte signed type to a 8-byte unsigned type PASSED QIntC::to_char(i2): 81 Q PASSED QIntC::to_uchar(i2): 81 Q PASSED -QIntC::to_uchar(c1): integer out of range converting ÷ from a 1-byte signed type to a 1-byte unsigned type PASSED +QIntC::to_uchar(c1): integer out of range converting ÷ from a 1-byte signed type to a 1-byte unsigned type PASSED +QIntC::to_uchar(c2): W W PASSED +QIntC::to_char(c2): W W PASSED -- cgit v1.2.3-54-g00ecf