forked from boostorg/endian
Avoid signed integer overflow in endian_arithmetic_test
This commit is contained in:
1 parent
c59eb627ad
commit
dad7086b37
1 file changed
+2
-1
@@ -138,7 +138,8 @@ template<class T> void test( T const& x )
|
||||
|
||||
int main()
|
||||
{
|
||||
test( 0x01020304 );
|
||||
test( 0xF1F2 );
|
||||
test( 0x01020304u );
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
Reference in new issue
Block a user