diff options
-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."); |