From 79c2c6da2c5621208eec12f608b672856d38f6a3 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Wed, 2 Aug 2000 04:25:13 +0100 Subject: [multiple changes] 2000-08-02 Bryce McKinlay * interpret.cc (_Jv_InterpMethod::continue1): Type of `fun' changed to match C declaration in ffi.h. * Makefile.am: Add java/awt/Button.java. * Makefile.in: Rebuilt. 2000-07-29 Alexandre Petit-Bianco * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Type of the cast of the second argument to `ffi_raw_call' changed to match prototype. 2000-07-26 Alexandre Petit-Bianco * jni.cc (_Jv_JNIMethod::call): Type of the cast of the second argument to `ffi_raw_call' changed to match prototype. From-SVN: r35418 --- libjava/jni.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/jni.cc') diff --git a/libjava/jni.cc b/libjava/jni.cc index 020f7e8..db13cdf 100644 --- a/libjava/jni.cc +++ b/libjava/jni.cc @@ -1784,7 +1784,7 @@ _Jv_JNIMethod::call (ffi_cif *, void *ret, ffi_raw *args, void *__this) memcpy (&real_args[offset], args, _this->args_raw_size); // The actual call to the JNI function. - ffi_raw_call (&_this->jni_cif, (void (*) (...)) _this->function, + ffi_raw_call (&_this->jni_cif, (void (*)()) _this->function, ret, real_args); _Jv_JNI_PopSystemFrame (env); -- cgit v1.1