Index: core/src/fxcodec/codec/fx_codec_png.cpp |
diff --git a/core/src/fxcodec/codec/fx_codec_png.cpp b/core/src/fxcodec/codec/fx_codec_png.cpp |
index ea5ffaf68ab16462bb81042d06a9276ba4c75ad3..8cb24ba2fa74868aed165457fc02443c9c0ca5d7 100644 |
--- a/core/src/fxcodec/codec/fx_codec_png.cpp |
+++ b/core/src/fxcodec/codec/fx_codec_png.cpp |
@@ -191,7 +191,7 @@ static void _png_get_row_func(png_structp png_ptr, png_bytep new_row, png_uint_3 |
} |
void* CCodec_PngModule::Start(void* pModule) |
{ |
- FXPNG_Context* p = (FXPNG_Context*)FX_Alloc(FX_BYTE, sizeof(FXPNG_Context)); |
+ FXPNG_Context* p = (FXPNG_Context*)FX_Alloc(uint8_t, sizeof(FXPNG_Context)); |
if(p == NULL) { |
return NULL; |
} |