[codec,test] fix warnings in img2bgra

This commit is contained in:
akallabeth
2025-02-22 22:41:44 +01:00
parent 7f68447de9
commit 82d74dbc96

View File

@@ -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");