From 8200306bf1ea14c09b250ce0d33057d170076b1a Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 28 Apr 2019 06:37:29 +0300 Subject: [PATCH] More signed overflow avoidance --- test/endian_arithmetic_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/endian_arithmetic_test.cpp b/test/endian_arithmetic_test.cpp index a829a3a..7dfb578 100644 --- a/test/endian_arithmetic_test.cpp +++ b/test/endian_arithmetic_test.cpp @@ -138,7 +138,7 @@ template void test( T const& x ) int main() { - test( 0xF1F2 ); + test( 0x7EF2 ); test( 0x01020304u ); return boost::report_errors();