From 1ae917bda90accd98fa40003eb6d0663207ad97b Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 20 Dec 2016 23:02:31 -0800 Subject: CRYO: Fix heap issue --- engines/cryo/eden.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp index be5cb5b708..4889721122 100644 --- a/engines/cryo/eden.cpp +++ b/engines/cryo/eden.cpp @@ -4931,7 +4931,7 @@ bool EdenGame::ReadDataSyncVOC(unsigned int num) { loadpartoffile(resNum, &chunkType, sizeof(vocHeader), 1); filePos++; if (chunkType == 5) { - uint16 chunkLen = 0; + uint32 chunkLen = 0; loadpartoffile(resNum, &chunkLen, filePos, 3); filePos += 3; chunkLen = LE32(chunkLen); -- cgit v1.2.3