diff options
author | Even Rouault <even.rouault@spatialys.com> | 2021-10-20 16:04:11 +0200 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2021-10-20 16:04:26 +0200 |
commit | b256d4049cd7a9fd08e5a767c56d2011e3cc2c20 (patch) | |
tree | d63c0408dc3b8cb090cd4cfac79bed0f2b429210 | |
parent | 71bb3c7ef25c20c0a59ac77cfc140e21ac115bdd (diff) | |
download | libtiff-git-b256d4049cd7a9fd08e5a767c56d2011e3cc2c20.tar.gz |
tif_webp.c: add explicit cast to please MSVC verbose warnings
-rw-r--r-- | libtiff/tif_webp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtiff/tif_webp.c b/libtiff/tif_webp.c index ce632641..60ebaca2 100644 --- a/libtiff/tif_webp.c +++ b/libtiff/tif_webp.c @@ -166,7 +166,7 @@ TWebPDecode(TIFF* tif, uint8_t* op, tmsize_t occ, uint16_t s) tif->tif_rawcp += tif->tif_rawcc; tif->tif_rawcc = 0; - sp->last_y += occ / sp->sDecBuffer.u.RGBA.stride; + sp->last_y += (int)(occ / sp->sDecBuffer.u.RGBA.stride); return 1; } else { TIFFErrorExt(tif->tif_clientdata, module, "Unable to decode WebP data."); |