From ffa6f2f3c008ce35aca15c40fb4ffd200a019e51 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 25 Jul 2017 16:52:56 -0400 Subject: [PATCH] Bug 1377959 - fix compiler warning about varargs functions; r=jesup --- .../webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc b/media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc index 79122ccd629d..07ee16ef5cfe 100644 --- a/media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc +++ b/media/webrtc/trunk/webrtc/modules/utility/source/jvm_android.cc @@ -167,7 +167,7 @@ jmethodID JavaClass::GetStaticMethodId( 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; } @@ -175,7 +175,7 @@ jobject JavaClass::CallStaticObjectMethod(jmethodID methodID, ...) { jint JavaClass::CallStaticIntMethod(jmethodID methodID, ...) { va_list args; va_start(args, methodID); - jint res = jni_->CallStaticIntMethod(j_class_, methodID, args); + jint res = jni_->CallStaticIntMethodV(j_class_, methodID, args); CHECK_EXCEPTION(jni_) << "Error during CallStaticIntMethod"; return res; }