Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit bc790e3

Browse files
authored
Merge pull request #1276 from juncha4x/fix-def_type
Fix compile error for msdk build
2 parents ae54a7d + 8db5252 commit bc790e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/core/owt_base/MsdkFrameDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ void MsdkFrameDecoder::updateBitstream(const Frame& frame)
455455
, newSize
456456
);
457457

458-
uint8_t* tmpDataBuf = realloc(m_bitstream->Data, newSize);
458+
uint8_t* tmpDataBuf = (uint8_t*)realloc(m_bitstream->Data, newSize);
459459
if (tmpDataBuf == nullptr) {
460460
free(m_bitstream->Data);
461461
m_bitstream.reset();

0 commit comments

Comments
 (0)