From d6cdc1b36285743c41e8c0cbe7872e9f4c376cda Mon Sep 17 00:00:00 2001 From: Lock l00p Date: Mon, 3 Jun 2024 18:23:53 +0000 Subject: [PATCH] That didn't work, try to fit expected argument in devkitA64 --- image_png.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/image_png.c b/image_png.c index e1f7bd05..810caa61 100644 --- a/image_png.c +++ b/image_png.c @@ -515,8 +515,10 @@ qbool PNG_SaveImage_preflipped (const char *filename, int width, int height, qbo if (setjmp((_JBTYPE *)png)) #elif defined(MACOSX) || defined(WIN32) if (setjmp((int *)png)) -#elif defined(__ANDROID__) || defined(__SWITCH__) +#elif defined(__ANDROID__) if (setjmp((long *)png)) +#elif defined(__SWITCH__) + if (setjmp((long long *)png)) #else if (setjmp((struct __jmp_buf_tag *)png)) #endif -- 2.39.2