This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: add (void *) cast


Hi,
I wanted to minimize the number of (void *) casts in my last patch and
accidently removed one that was important.

Fixed that. Committed.

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

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

cya
Robert
Index: link.cc
===================================================================
--- link.cc	(Revision 110543)
+++ link.cc	(Arbeitskopie)
@@ -996,7 +996,7 @@
   // 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
 }
 

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]