]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Change setjmp arg in image_png.c
authorLock l00p <hakzstudios@gmail.com>
Mon, 3 Jun 2024 18:22:05 +0000 (18:22 +0000)
committerLock l00p <hakzstudios@gmail.com>
Mon, 3 Jun 2024 18:22:05 +0000 (18:22 +0000)
image_png.c

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