aboutsummaryrefslogtreecommitdiff
path: root/libjava/link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/link.cc')
-rw-r--r--libjava/link.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/link.cc b/libjava/link.cc
index 83681fe..0f9f7c1 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
}