mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
fix warnings - issue #21
This commit is contained in:
Vendored
+2
-1
@@ -339,7 +339,8 @@ PHMAP_BASE_INTERNAL_FORCEINLINE int CountTrailingZerosNonZero32(uint32_t n) {
|
||||
#ifdef PHMAP_HAVE_INTRINSIC_INT128
|
||||
inline uint64_t umul128(uint64_t a, uint64_t b, uint64_t* high)
|
||||
{
|
||||
auto result = static_cast<unsigned __int128>(a) * static_cast<unsigned __int128>(b);
|
||||
auto result = static_cast<__extension__ unsigned __int128>(a) *
|
||||
static_cast<__extension__ unsigned __int128>(b);
|
||||
*high = static_cast<uint64_t>(result >> 64);
|
||||
return static_cast<uint64_t>(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user