From 82d74dbc9641d509058b4bc2e029fc4aa491bccc Mon Sep 17 00:00:00 2001 From: akallabeth Date: Sat, 22 Feb 2025 22:41:44 +0100 Subject: [PATCH] [codec,test] fix warnings in img2bgra --- libfreerdp/codec/test/img2bgra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/codec/test/img2bgra.c b/libfreerdp/codec/test/img2bgra.c index ddf29fbe9..e359b2632 100644 --- a/libfreerdp/codec/test/img2bgra.c +++ b/libfreerdp/codec/test/img2bgra.c @@ -84,7 +84,7 @@ static int dump_data(const wImage* img, const char* file) count = fprintf(fp, "static const uint8_t img_data[] ={\n"); if (count < 0) goto fail; - count = dump_data_hex(fp, img->data, img->height * img->scanline); + count = dump_data_hex(fp, img->data, 1ULL * img->height * img->scanline); if (count < 0) goto fail; count = fprintf(fp, "};\n");