summaryrefslogtreecommitdiff
path: root/libjava/jni.cc
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-02 03:25:13 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-02 03:25:13 +0000
commit76c0b418e85d653b0fbdb1f9c5e6cd0150a760d5 (patch)
tree556ab79d201319b851c2f2d9e51c1aa93043fd03 /libjava/jni.cc
parent40b20370805ab2b81f67444510475c7ae0cbffec (diff)
downloadgcc-76c0b418e85d653b0fbdb1f9c5e6cd0150a760d5.tar.gz
2000-08-02 Bryce McKinlay <bryce@albatross.co.nz>
* 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 <apbianco@cygnus.com> * 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 <apbianco@cygnus.com> * jni.cc (_Jv_JNIMethod::call): Type of the cast of the second argument to `ffi_raw_call' changed to match prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r--libjava/jni.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc
index 020f7e85696..db13cdfb1a3 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);