From e3e1fa678b151d393a82f55122d00b29d99513f3 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Fri, 3 Feb 2006 13:54:19 +0000 Subject: [PATCH] 2006-02-03 Robert Schuster * link.cc: (_Jv_Linker::create_error_method): Added missing (void *) cast. From-SVN: r110544 --- libjava/ChangeLog | 5 +++++ libjava/link.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 }