From: Lock l00p Date: Mon, 3 Jun 2024 18:22:05 +0000 (+0000) Subject: Change setjmp arg in image_png.c X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=68ea1ef031639a0ad6e0f689b4fca95f029fbc29;p=xonotic%2Fdarkplaces.git Change setjmp arg in image_png.c --- 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))