Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix gcc type mismatch error. #10

Merged
merged 1 commit into from

3 participants

@yihuang

I got compile error with gcc-4.5.2, this patch fixes this.

@jodonoghue jodonoghue merged commit c26ee5c into from
@mschristiansen

This particular error is stopping wxc-0.90.0.4 on Hackage (latest version at this time) from building. How to get this fix into the latest version on Hackage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 11, 2012
  1. @yihuang

    Fix cpp type mismatch.

    yihuang authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  wxc/src/cpp/eljpen.cpp
View
2  wxc/src/cpp/eljpen.cpp
@@ -156,7 +156,7 @@ EWXWEXPORT(int,wxPen_GetDashes)(void* self,void* ptr)
EWXWEXPORT(void,wxPen_GetStipple)(void* self,wxBitmap* _ref)
{
#if defined(__WXGTK__)
- *_ref = NULL;
+ *_ref = (GdkPixbuf*)NULL;
#else
*_ref = *(((wxPen*)self)->GetStipple());
#endif
Something went wrong with that request. Please try again.