From cdc2a8a923dcaaad48d549341d92bbb0e6edc384 Mon Sep 17 00:00:00 2001 From: Jaime Passos Date: Tue, 7 Jan 2020 20:07:35 -0300 Subject: [PATCH] Fix shadowed declarations --- src/r_picformats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/r_picformats.c b/src/r_picformats.c index cb235590a..c7e54cf4e 100644 --- a/src/r_picformats.c +++ b/src/r_picformats.c @@ -1488,8 +1488,8 @@ void R_CacheRotSprite(spritenum_t sprnum, UINT8 frame, spriteinfo_t *sprinfo, sp if (Picture_IsLumpPNG((const UINT8 *)patch, lumplength)) { INT32 pngwidth, pngheight; - INT16 topoffset, leftoffset; - patch = (patch_t *)Picture_PNGConvert((const UINT8 *)patch, PICFMT_PATCH, &pngwidth, &pngheight, &topoffset, &leftoffset, lumplength, NULL, 0); + INT16 toffs, loffs; + patch = (patch_t *)Picture_PNGConvert((const UINT8 *)patch, PICFMT_PATCH, &pngwidth, &pngheight, &toffs, &loffs, lumplength, NULL, 0); } else #endif