mirror of
https://github.com/boostorg/endian.git
synced 2025-08-02 14:04:29 +02:00
More signed overflow avoidance
This commit is contained in:
@@ -138,7 +138,7 @@ template<class T> void test( T const& x )
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
test( 0xF1F2 );
|
test( 0x7EF2 );
|
||||||
test( 0x01020304u );
|
test( 0x01020304u );
|
||||||
|
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
|
Reference in New Issue
Block a user