Bug 1377959 - Fix compiler warning about varargs functions. r=jesup, a=abillings
authorNathan Froyd <froydnj@mozilla.com>
Tue, 25 Jul 2017 16:52:56 -0400
changeset 414432 eec75edfd85a87a4b72d3f42a12be07a9eedfe19
parent 414431 89708957545338de86b627dc9b907af01c7733ba
child 414433 bd8a6b4eb7ce55acbe1ce915bd28709c5613af5a
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup, abillings
bugs1377959
milestone55.0
Bug 1377959 - Fix compiler warning about varargs functions. r=jesup, a=abillings
media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc
--- a/media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc
+++ b/media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc
@@ -158,17 +158,17 @@ jmethodID JavaClass::GetMethodId(
 jmethodID JavaClass::GetStaticMethodId(
     const char* name, const char* signature) {
   return GetStaticMethodID(jni_, j_class_, name, signature);
 }
 
 jobject JavaClass::CallStaticObjectMethod(jmethodID methodID, ...) {
   va_list args;
   va_start(args, methodID);
-  jobject res = jni_->CallStaticObjectMethod(j_class_, methodID, args);
+  jobject res = jni_->CallStaticObjectMethodV(j_class_, methodID, args);
   CHECK_EXCEPTION(jni_) << "Error during CallStaticObjectMethod";
   return res;
 }
 
 // JNIEnvironment implementation.
 JNIEnvironment::JNIEnvironment(JNIEnv* jni) : jni_(jni) {
   ALOGD("JNIEnvironment::ctor%s", GetThreadInfo().c_str());
 }