From cb0a193eea73dd0f58022bbb8be8a85d6efa4979 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 19 Aug 2020 18:20:55 +0200 Subject: [PATCH] Fix RPNG build failure --- libretro-common/formats/png/rpng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/formats/png/rpng.c b/libretro-common/formats/png/rpng.c index f60036977d..1c2b2de1d9 100644 --- a/libretro-common/formats/png/rpng.c +++ b/libretro-common/formats/png/rpng.c @@ -473,7 +473,7 @@ static void png_reverse_filter_adam7_deinterlace_pass(uint32_t *data, const uint32_t *input, unsigned pass_width, unsigned pass_height, const struct adam7_pass *pass) { - unsigned y; + unsigned x, y; data += pass->y * ihdr->width + pass->x;