mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
msvc: silence some build warnings
these are related to the removal of USE_LOSSLESS_ENCODER Change-Id: Ib0ca5bc2766c351130507bc2e657a034c8455b34
This commit is contained in:
@ -113,7 +113,7 @@ int WebPPictureAlloc(WebPPicture* const picture) {
|
||||
return 0;
|
||||
}
|
||||
WebPPictureFree(picture); // erase previous buffer
|
||||
picture->argb = (uint32_t*)malloc(total_size);
|
||||
picture->argb = (uint32_t*)malloc((size_t)total_size);
|
||||
if (picture->argb == NULL) return 0;
|
||||
picture->argb_stride = width;
|
||||
}
|
||||
|
Reference in New Issue
Block a user