diff options
Diffstat (limited to 'src/map.cpp')
| -rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index a08070656..a22b4c162 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -72,7 +72,7 @@ gb_inline HashKey hash_integer(u64 u) { } gb_inline HashKey hash_f64(f64 f) { HashKey h = {HashKey_Default}; - h.key = *cast(u64 *)&f; + h.key = bit_cast<u64>(f); return h; } |