Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml
authorSam Lantinga <slouken@libsdl.org>
Tue, 23 Apr 2019 12:59:28 -0700
changeset 12716a870aea86088
parent 12715 96bb89d176ba
child 12717 ce0b6e21520e
Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml
android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java	Tue Apr 23 12:59:20 2019 -0700
     1.2 +++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java	Tue Apr 23 12:59:28 2019 -0700
     1.3 @@ -651,7 +651,7 @@
     1.4              }
     1.5              case COMMAND_CHANGE_SURFACEVIEW_FORMAT:
     1.6              {
     1.7 -                int format = ((int)msg.obj);
     1.8 +                int format = ((Integer) msg.obj).intValue();
     1.9                  int pf;
    1.10  
    1.11                  if (SDLActivity.mSurface == null) {