From ecce803d54637221fe9e06f0cddb600ec6801fc8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 23 Apr 2019 12:59:28 -0700 Subject: [PATCH] Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml --- .../app/src/main/java/org/libsdl/app/SDLActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java index 5e5eb04a3..abf45a5ce 100644 --- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java +++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java @@ -651,7 +651,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh } case COMMAND_CHANGE_SURFACEVIEW_FORMAT: { - int format = ((int)msg.obj); + int format = ((Integer) msg.obj).intValue(); int pf; if (SDLActivity.mSurface == null) {