diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-03 20:02:47 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-03 20:03:07 +0200 |
commit | 92deba3890bbc74258e3f3bf8f9fe4b8a02fbb8d (patch) | |
tree | 760d5fc4b45a1ff97acaa2c483da2670ba1a64d5 | |
parent | 668c5eb78a660bde709509bddef7aa6d34b97c5f (diff) | |
download | fiv-92deba3890bbc74258e3f3bf8f9fe4b8a02fbb8d.tar.gz fiv-92deba3890bbc74258e3f3bf8f9fe4b8a02fbb8d.tar.xz fiv-92deba3890bbc74258e3f3bf8f9fe4b8a02fbb8d.zip |
Silence a compiler warning
-rw-r--r-- | fiv-thumbnail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |