2006-02-03 Robert Schuster <robertschuster@fsfe.org>

* link.cc:
        (_Jv_Linker::create_error_method): Added missing (void *) cast.

From-SVN: r110544
This commit is contained in:
Robert Schuster 2006-02-03 13:54:19 +00:00 committed by Robert Schuster
parent a7f3ff761f
commit e3e1fa678b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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:

View File

@ -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
}