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] | |
- (void) funcPtr((void *) funcArg); + (void) funcPtr((void *) (size_t)funcArg); /* Fall off the end and terminate the thread of control. */ }
These size_t casts seem wrong. Have you looked into using intptr_t?
- (void) funcPtr((void *) funcArg); + (void) funcPtr((void *) (intptr_t)funcArg);
+/* Union used for type punning. */ +union widget_union +{ + void **void_widget; + GtkWidget **widget; +}; +
This union should be moved to gtkpeer.h and ev_widget_union should be eliminated.
Thanks, Andreas
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |