From: Robert Schuster Date: Fri, 3 Feb 2006 13:54:19 +0000 (+0000) Subject: 2006-02-03 Robert Schuster X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3e1fa678b151d393a82f55122d00b29d99513f3;p=gcc.git 2006-02-03 Robert Schuster * link.cc: (_Jv_Linker::create_error_method): Added missing (void *) cast. From-SVN: r110544 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 92ebb77b6ba..aac072bcb71 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2006-02-03 Robert Schuster + + * link.cc: + (_Jv_Linker::create_error_method): Added missing (void *) cast. + 2006-02-03 Robert Schuster * include/jvm.h: 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 }