]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
That didn't work, try to fit expected argument in devkitA64
authorLock l00p <hakzstudios@gmail.com>
Mon, 3 Jun 2024 18:23:53 +0000 (18:23 +0000)
committerLock l00p <hakzstudios@gmail.com>
Mon, 3 Jun 2024 18:23:53 +0000 (18:23 +0000)
image_png.c

index e1f7bd0566c418db2fb4a03c2518ecbcb57e8def..810caa61484935c0beafa58512871f9f67e48591 100644 (file)
@@ -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