Remove one more integer overflow

This commit is contained in:
Peter Dimov
2017-12-23 04:47:54 +02:00
parent d4738d8598
commit 10877d3667

View File

@@ -76,7 +76,7 @@ namespace
Endian v3( static_cast<Base>( 1 ) );
Endian x(static_cast<typename Endian::value_type>(v+v3));
Endian x(static_cast<typename Endian::value_type>(v2+v3));
if ( x == x ) // silence warning
return;
}