fix compile issue

This commit is contained in:
halx99 2020-08-31 14:50:33 +08:00
parent 27ba2fd377
commit 2443e01136
2 changed files with 2 additions and 2 deletions

View File

@ -980,7 +980,7 @@ namespace {
size_t outputDepthPitch);
}
int etc2_decode_image(int format, const etc2_byte* input, etc2_byte* output, size_t width, size_t height)
int etc2_decode_image(int format, const etc2_byte* input, etc2_byte* output, etc2_uint32 width, etc2_uint32 height)
{
size_t outputRowPitch = 4 * width;
size_t outputDepthPitch = outputRowPitch * height;

View File

@ -73,7 +73,7 @@ extern "C" {
/// <param name="width">pixelsHeight</param>
/// <param name="height">pixelsWidth</param>
/// <returns>0: success, -1: failed</returns>
int etc2_decode_image(int format, const etc2_byte* input, etc2_byte* output, size_t width, size_t height);
int etc2_decode_image(int format, const etc2_byte* input, etc2_byte* output, etc2_uint32 width, etc2_uint32 height);
#if defined(__cplusplus)
}