From 92deba3890bbc74258e3f3bf8f9fe4b8a02fbb8d Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 3 Jul 2023 20:02:47 +0200 Subject: Silence a compiler warning --- fiv-thumbnail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fiv-thumbnail.c b/fiv-thumbnail.c index 92f6ca7..267daf7 100644 --- a/fiv-thumbnail.c +++ b/fiv-thumbnail.c @@ -426,7 +426,7 @@ extract_libraw_bitmap(libraw_processed_image_t *image, int flip, GError **error) guint32 *out = (guint32 *) I->data; const unsigned char *in = image->data; - for (guint64 i = 0; i < image->width * image->height; in += 3) + for (guint64 i = 0; i < (guint64) image->width * image->height; in += 3) out[i++] = in[0] << 16 | in[1] << 8 | in[2]; I->orientation = extract_libraw_unflip(flip); -- cgit v1.2.3-70-g09d2