mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 22:00:17 +01:00
Fix GCC -Wlong-long warnings
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user