Index: platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
diff --git a/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp b/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
index 7ce43cc15814c1372878c585d8e3a175e11c2d73..812648eb4f270b1fabbaf7c2cb64f6ecff193c0d 100644 |
--- a/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
+++ b/platform_tools/android/app/jni/com_skia_SkiaSampleRenderer.cpp |
@@ -272,7 +272,7 @@ JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_handleClick(JNIEnv* env, |
SkDebugf("motion event ignored\n"); |
return; |
} |
- gWindow->handleClick(x, y, state, (void*) owner); |
+ gWindow->handleClick(x, y, state, reinterpret_cast<void*>(owner)); |
} |
JNIEXPORT void JNICALL Java_com_skia_SkiaSampleRenderer_nextSample( |