From 68ea1ef031639a0ad6e0f689b4fca95f029fbc29 Mon Sep 17 00:00:00 2001 From: Lock l00p Date: Mon, 3 Jun 2024 18:22:05 +0000 Subject: [PATCH] Change setjmp arg in image_png.c --- image_png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_png.c b/image_png.c index 6b226af0..e1f7bd05 100644 --- a/image_png.c +++ b/image_png.c @@ -515,7 +515,7 @@ 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__) +#elif defined(__ANDROID__) || defined(__SWITCH__) if (setjmp((long *)png)) #else if (setjmp((struct __jmp_buf_tag *)png)) -- 2.39.2