mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-16 13:56:47 +02:00
wicdec: silence a format warning
from x86_64-w64-mingw32-gcc examples/wicdec.c: In function ‘ExtractICCP’: examples/wicdec.c:131:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘size_t’ [-Wformat] Change-Id: I6642dae62265a2276ae9ac96dd8ce6f1e2d37ca5 (cherry picked from commit ffae9f31e80ed7344987b24b21af831806fa2e69)
This commit is contained in:
parent
ad9e42a6fe
commit
2e377b53b0
@ -128,7 +128,7 @@ static HRESULT ExtractICCP(IWICImagingFactory* const factory,
|
|||||||
&size));
|
&size));
|
||||||
if (SUCCEEDED(hr) && size != iccp->size) {
|
if (SUCCEEDED(hr) && size != iccp->size) {
|
||||||
fprintf(stderr, "Warning! ICC profile size (%u) != expected (%u)\n",
|
fprintf(stderr, "Warning! ICC profile size (%u) != expected (%u)\n",
|
||||||
size, iccp->size);
|
size, (uint32_t)iccp->size);
|
||||||
iccp->size = size;
|
iccp->size = size;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user