aboutsummaryrefslogtreecommitdiff
path: root/libjava/link.cc
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2006-02-03 13:54:19 +0000
committerRobert Schuster <rschuster@gcc.gnu.org>2006-02-03 13:54:19 +0000
commite3e1fa678b151d393a82f55122d00b29d99513f3 (patch)
tree50ac48dcf87caf877bcc520442ff9308b5cbc78c /libjava/link.cc
parenta7f3ff761f5d6d84040edf8473c902f23fba2a43 (diff)
downloadgcc-e3e1fa678b151d393a82f55122d00b29d99513f3.zip
gcc-e3e1fa678b151d393a82f55122d00b29d99513f3.tar.gz
gcc-e3e1fa678b151d393a82f55122d00b29d99513f3.tar.bz2
2006-02-03 Robert Schuster <robertschuster@fsfe.org>
* link.cc: (_Jv_Linker::create_error_method): Added missing (void *) cast. From-SVN: r110544
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
}