Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/format/qb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ ReadResult Reader::readUncompressed(Voxel64 buffer[], usize bufferLength) noexce
VXIO_DEBUG_ASSERT_LE(index, matVolume);
VXIO_DEBUG_ASSERT_GT(bufferLength, 0u);

const auto voxelsLeftInMatrixCount = matVolume - index;
const usize voxelsLeftInMatrixCount = matVolume - index;
if (voxelsLeftInMatrixCount == 0) return ReadResult::nextObject();

const auto tmpBufferSize = std::min(bufferLength, voxelsLeftInMatrixCount);
Expand Down