Fix ChunkPos cast warning

This commit is contained in:
DankParrot 2020-08-12 18:00:24 -07:00
parent 17c77dc57c
commit 017fa39adc
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace Feather
ChunkPos(BlockPos pos) : x(pos.x >> 4), z(pos.z >> 4) {}
// Decode from packed int64
ChunkPos(int64_t packed) : x(packed), z(packed >> 32) {}
ChunkPos(int64_t packed) : x((int32_t)packed), z(packed >> 32) {}
// Pack into one int64
inline int64_t Encode()