From: Lock l00p Date: Mon, 3 Jun 2024 18:23:53 +0000 (+0000) Subject: That didn't work, try to fit expected argument in devkitA64 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d6cdc1b36285743c41e8c0cbe7872e9f4c376cda;p=xonotic%2Fdarkplaces.git That didn't work, try to fit expected argument in devkitA64 --- 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