Fix GCC -Wlong-long warnings

This commit is contained in:
Peter Dimov
2022-02-08 22:00:42 +02:00
parent b38c148969
commit cf619432a7
10 changed files with 20 additions and 20 deletions

View File

@@ -15,7 +15,7 @@
int main()
{
boost::uint64_t v = static_cast<boost::uint64_t>( 0x0102030405060708ull );
boost::uint64_t v = ( static_cast<boost::uint64_t>( 0x01020304u ) << 32 ) + 0x05060708u;
if( boost::core::endian::native == boost::core::endian::little )
{