From 0f17fbe1ca83f4c84e2ddcb8fbbc2e37cdfb532e Mon Sep 17 00:00:00 2001 From: Brenton Bostick Date: Mon, 22 Sep 2025 08:54:59 -0400 Subject: [PATCH] fix 'SDL_MessageBoxFlags' is not a valid JVM type. (cherry picked from commit ed7d39b28c83d175fcb77b97d100dadd049f758a) --- src/core/android/SDL_android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index 46cef905ea..4c392a041d 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -2164,7 +2164,7 @@ bool Android_JNI_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *b mid = (*env)->GetMethodID(env, clazz, "messageboxShowMessageBox", "(ILjava/lang/String;Ljava/lang/String;[I[I[Ljava/lang/String;[I)I"); *buttonID = (*env)->CallIntMethod(env, context, mid, - messageboxdata->flags, + (jint)messageboxdata->flags, title, message, button_flags,