summaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>1999-08-03 00:23:03 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>1999-08-03 01:23:03 +0100
commita0e4da0d17c4722c9c8e6c84acdac3ff4e33888b (patch)
tree90ef0fe431e9f17bc3cbc918a099c6e29a820d82 /libjava/exception.cc
parentd4c285454fe1c960af3ae8b038034b26584bc0a5 (diff)
downloadgcc-a0e4da0d17c4722c9c8e6c84acdac3ff4e33888b.tar.gz
boehm.cc (_Jv_RegisterFinalizer): Cast eth' to GC_PTR.
eth' * boehm.cc (_Jv_RegisterFinalizer): Cast eth' to GC_PTR. * exception.cc (_Jv_Throw): Cast _Jv_type_matcher' to __eh_matcher. From-SVN: r28428
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r--libjava/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc
index 644f80b8b0f..0c6553ff5bc 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -147,7 +147,7 @@ _Jv_Throw (void *value)
_Jv_eh_alloc ();
ehinfo = *(__get_eh_info ());
}
- ehinfo->eh_info.match_function = _Jv_type_matcher;
+ ehinfo->eh_info.match_function = (__eh_matcher)_Jv_type_matcher;
ehinfo->eh_info.language = EH_LANG_Java;
ehinfo->eh_info.version = 1;
ehinfo->value = value;