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@6355 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
fischman@webrtc.org
2014-06-06 18:59:30 +00:00
parent 9512719569
commit b273b60154

View File

@ -21,7 +21,7 @@ int ViEAutoTestAndroid::RunAutotest(int testSelection, int subTestSelection,
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);