summaryrefslogtreecommitdiff
path: root/android-project/app
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2019-04-23 12:59:28 -0700
committerSam Lantinga <slouken@libsdl.org>2019-04-23 12:59:28 -0700
commit86a09330b2a6666a96d8493fd92c214cf0a08abe (patch)
treed517933e4d6dd4240a14f91641b33ce4f0339eb8 /android-project/app
parent7aa39fb5d3714d3b334b345e3c72dc03d2e80e7f (diff)
Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml
Diffstat (limited to 'android-project/app')
-rw-r--r--android-project/app/src/main/java/org/libsdl/app/SDLActivity.java2
1 files changed, 1 insertions, 1 deletions
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 5e5eb04a3c..abf45a5ce0 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) {