Index: core/src/fxcodec/codec/fx_codec_jbig.cpp |
diff --git a/core/src/fxcodec/codec/fx_codec_jbig.cpp b/core/src/fxcodec/codec/fx_codec_jbig.cpp |
index 8fcd9f47116e95ebf71c4d3484071ac2a815a4b2..622448d659f7c80e9b5be893f0f2e1767deab21e 100644 |
--- a/core/src/fxcodec/codec/fx_codec_jbig.cpp |
+++ b/core/src/fxcodec/codec/fx_codec_jbig.cpp |
@@ -52,7 +52,7 @@ FX_BOOL CCodec_Jbig2Module::Decode(IFX_FileRead* file_ptr, |
CJBig2_Context* pContext = NULL; |
CJBig2_Image* dest_image = NULL; |
FX_DWORD src_size = (FX_DWORD)file_ptr->GetSize(); |
- FX_LPBYTE src_buf = FX_Alloc(FX_BYTE, src_size); |
+ FX_LPBYTE src_buf = FX_Alloc(uint8_t, src_size); |
int ret = 0; |
if(!file_ptr->ReadBlock(src_buf, 0, src_size)) { |
goto failed; |
@@ -129,7 +129,7 @@ FXCODEC_STATUS CCodec_Jbig2Module::StartDecode(void* pJbig2Context, IFX_FileRead |
m_pJbig2Context->m_bFileReader = TRUE; |
m_pJbig2Context->m_dest_image = NULL; |
m_pJbig2Context->m_src_size = (FX_DWORD)file_ptr->GetSize(); |
- m_pJbig2Context->m_src_buf = FX_Alloc(FX_BYTE, m_pJbig2Context->m_src_size); |
+ m_pJbig2Context->m_src_buf = FX_Alloc(uint8_t, m_pJbig2Context->m_src_size); |
int ret = 0; |
if(!file_ptr->ReadBlock((void*)m_pJbig2Context->m_src_buf, 0, m_pJbig2Context->m_src_size)) { |
goto failed; |