diff options
author | rschuster <rschuster@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-03 13:54:19 +0000 |
---|---|---|
committer | rschuster <rschuster@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-03 13:54:19 +0000 |
commit | c56159cd26ae9e37a37ede4a90a81f79f3022e91 (patch) | |
tree | 50ac48dcf87caf877bcc520442ff9308b5cbc78c /libjava | |
parent | 854d5bfbc68eb6051616cf15b0c77f50ffc65f2a (diff) | |
download | gcc-c56159cd26ae9e37a37ede4a90a81f79f3022e91.tar.gz |
2006-02-03 Robert Schuster <robertschuster@fsfe.org>
* link.cc:
(_Jv_Linker::create_error_method): Added missing (void *) cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110544 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/link.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 92ebb77b6ba..aac072bcb71 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2006-02-03 Robert Schuster <robertschuster@fsfe.org> + * link.cc: + (_Jv_Linker::create_error_method): Added missing (void *) cast. + +2006-02-03 Robert Schuster <robertschuster@fsfe.org> + * include/jvm.h: (_Jv_Linker::create_error_method): New method declaration. * link.cc: diff --git a/libjava/link.cc b/libjava/link.cc index 83681fed143..0f9f7c1ca32 100644 --- a/libjava/link.cc +++ b/libjava/link.cc @@ -996,7 +996,7 @@ _Jv_Linker::create_error_method (_Jv_Utf8Const *class_name) // Codepath for platforms which do not support (or want) libffi. // You have to accept that it is impossible to provide the name // of the missing class then. - return _Jv_ThrowNoClassDefFoundError; + return (void *) _Jv_ThrowNoClassDefFoundError; #endif } |