summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/android/system-android.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/android/system-android.c')
-rw-r--r--firmware/target/hosted/android/system-android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/android/system-android.c b/firmware/target/hosted/android/system-android.c
index 07dff2ed56..16c6973474 100644
--- a/firmware/target/hosted/android/system-android.c
+++ b/firmware/target/hosted/android/system-android.c
@@ -51,7 +51,7 @@ Java_org_rockbox_RockboxActivity_main(JNIEnv *env, jobject this)
(void)env;
(void)this;
volatile uintptr_t stack = 0;
- stackbegin = stackend = &stack;
+ stackbegin = stackend = (uintptr_t*) &stack;
env_ptr = env;
RockboxActivity_instance = this;
RockboxActivity_class = (*env)->GetObjectClass(env, this);