Commit a0e4da0d by Bryce McKinlay Committed by Bryce McKinlay

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
parent d4c28545
1999-08-02 Bryce McKinlay <bryce@albatross.co.nz>
* boehm.cc (_Jv_RegisterFinalizer): Cast `meth' to GC_PTR.
* exception.cc (_Jv_Throw): Cast `_Jv_type_matcher' to __eh_matcher.
1999-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
* configure.in: Check for bstring.h.
......
......@@ -260,7 +260,7 @@ call_finalizer (GC_PTR obj, GC_PTR client_data)
void
_Jv_RegisterFinalizer (void *object, _Jv_FinalizerFunc *meth)
{
GC_REGISTER_FINALIZER_NO_ORDER (object, call_finalizer, meth,
GC_REGISTER_FINALIZER_NO_ORDER (object, call_finalizer, (GC_PTR)meth,
NULL, NULL);
}
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment