ViEAutoTestAndroid: Unbreak compile by casting void* to jobject.
Sure would be nice if the try fleet used both gcc _and_ clang...
TBR=wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/20559004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6355 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/video_engine/test/auto_test/source/vie_autotest_android.cc b/video_engine/test/auto_test/source/vie_autotest_android.cc
index 86b9b1d..ac0dd17 100644
--- a/video_engine/test/auto_test/source/vie_autotest_android.cc
+++ b/video_engine/test/auto_test/source/vie_autotest_android.cc
@@ -21,7 +21,7 @@
JavaVM* javaVM, void* env, void* context) {
ViEAutoTest vieAutoTest(window1, window2);
ViETest::Log("RunAutoTest(%d, %d)", testSelection, subTestSelection);
- webrtc::VideoEngine::SetAndroidObjects(javaVM, context);
+ webrtc::VideoEngine::SetAndroidObjects(javaVM, static_cast<jobject>(context));
#ifndef WEBRTC_ANDROID_OPENSLES
// voice engine calls into ADM directly
webrtc::VoiceEngine::SetAndroidObjects(javaVM, env, context);