From dbfe28db518d4e2c53aeea1deab8926f32b2bf40 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 18 Jan 2024 21:24:12 -0500 Subject: [PATCH] Fix type --- LEGO1/omni/src/video/mxflcpresenter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/omni/src/video/mxflcpresenter.cpp b/LEGO1/omni/src/video/mxflcpresenter.cpp index 5e1019a1..2fc22265 100644 --- a/LEGO1/omni/src/video/mxflcpresenter.cpp +++ b/LEGO1/omni/src/video/mxflcpresenter.cpp @@ -47,8 +47,8 @@ void MxFlcPresenter::LoadFrame(MxStreamChunk* p_chunk) { MxU8* data = p_chunk->GetData(); - MxS32 rectCount = *(MxU32*) data; - data += sizeof(MxU32); + MxS32 rectCount = *(MxS32*) data; + data += sizeof(MxS32); MxRect32* rects = (MxRect32*) data; data += rectCount * sizeof(MxRect32);