diff -ru wxPython-src-2.8.12.1.orig/src/gtk/bdiag.xbm wxPython-src-2.8.12.1/src/gtk/bdiag.xbm --- wxPython-src-2.8.12.1.orig/src/gtk/bdiag.xbm 2007-07-04 21:25:08.000000000 +0200 +++ wxPython-src-2.8.12.1/src/gtk/bdiag.xbm 2016-06-28 11:51:22.267414374 +0200 @@ -1,6 +1,6 @@ #define bdiag_width 16 #define bdiag_height 16 -static char bdiag_bits[] = { +static unsigned char bdiag_bits[] = { 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, 0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01, 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, 0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01}; diff -ru wxPython-src-2.8.12.1.orig/src/gtk/cdiag.xbm wxPython-src-2.8.12.1/src/gtk/cdiag.xbm --- wxPython-src-2.8.12.1.orig/src/gtk/cdiag.xbm 2007-07-04 21:25:08.000000000 +0200 +++ wxPython-src-2.8.12.1/src/gtk/cdiag.xbm 2016-06-28 11:51:22.267414374 +0200 @@ -1,6 +1,6 @@ #define cdiag_width 16 #define cdiag_height 16 -static char cdiag_bits[] = { +static unsigned char cdiag_bits[] = { 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18, 0x18, 0x18, 0x24, 0x24, 0x42, 0x42, 0x81, 0x81, 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18, 0x18, 0x18, 0x24, 0x24, 0x42, 0x42, 0x81, 0x81}; diff -ru wxPython-src-2.8.12.1.orig/src/gtk/cross.xbm wxPython-src-2.8.12.1/src/gtk/cross.xbm --- wxPython-src-2.8.12.1.orig/src/gtk/cross.xbm 2007-07-04 21:25:08.000000000 +0200 +++ wxPython-src-2.8.12.1/src/gtk/cross.xbm 2016-06-28 11:51:22.270747690 +0200 @@ -1,6 +1,6 @@ #define cross_width 15 #define cross_height 15 -static char cross_bits[] = { +static unsigned char cross_bits[] = { 0x84, 0x10, 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10}; diff -ru wxPython-src-2.8.12.1.orig/src/gtk/dcclient.cpp wxPython-src-2.8.12.1/src/gtk/dcclient.cpp --- wxPython-src-2.8.12.1.orig/src/gtk/dcclient.cpp 2008-05-12 06:26:45.000000000 +0200 +++ wxPython-src-2.8.12.1/src/gtk/dcclient.cpp 2016-06-28 11:51:15.687448942 +0200 @@ -428,12 +428,12 @@ if (!hatch_bitmap) { hatch_bitmap = hatches; - hatch_bitmap[0] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, bdiag_bits, bdiag_width, bdiag_height ); - hatch_bitmap[1] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, cdiag_bits, cdiag_width, cdiag_height ); - hatch_bitmap[2] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, fdiag_bits, fdiag_width, fdiag_height ); - hatch_bitmap[3] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, cross_bits, cross_width, cross_height ); - hatch_bitmap[4] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, horiz_bits, horiz_width, horiz_height ); - hatch_bitmap[5] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, verti_bits, verti_width, verti_height ); + hatch_bitmap[0] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, reinterpret_cast(bdiag_bits), bdiag_width, bdiag_height ); + hatch_bitmap[1] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, reinterpret_cast(cdiag_bits), cdiag_width, cdiag_height ); + hatch_bitmap[2] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, reinterpret_cast(fdiag_bits), fdiag_width, fdiag_height ); + hatch_bitmap[3] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, reinterpret_cast(cross_bits), cross_width, cross_height ); + hatch_bitmap[4] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, reinterpret_cast(horiz_bits), horiz_width, horiz_height ); + hatch_bitmap[5] = gdk_bitmap_create_from_data( (GdkWindow *) NULL, reinterpret_cast(verti_bits), verti_width, verti_height ); } } diff -ru wxPython-src-2.8.12.1.orig/src/gtk/fdiag.xbm wxPython-src-2.8.12.1/src/gtk/fdiag.xbm --- wxPython-src-2.8.12.1.orig/src/gtk/fdiag.xbm 2007-07-04 21:25:08.000000000 +0200 +++ wxPython-src-2.8.12.1/src/gtk/fdiag.xbm 2016-06-28 11:51:22.270747690 +0200 @@ -1,6 +1,6 @@ #define fdiag_width 16 #define fdiag_height 16 -static char fdiag_bits[] = { +static unsigned char fdiag_bits[] = { 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80, 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80}; diff -ru wxPython-src-2.8.12.1.orig/src/gtk/horiz.xbm wxPython-src-2.8.12.1/src/gtk/horiz.xbm --- wxPython-src-2.8.12.1.orig/src/gtk/horiz.xbm 2007-07-04 21:25:08.000000000 +0200 +++ wxPython-src-2.8.12.1/src/gtk/horiz.xbm 2016-06-28 11:51:22.270747690 +0200 @@ -1,6 +1,6 @@ #define horiz_width 15 #define horiz_height 15 -static char horiz_bits[] = { +static unsigned char horiz_bits[] = { 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00}; diff -ru wxPython-src-2.8.12.1.orig/src/gtk/verti.xbm wxPython-src-2.8.12.1/src/gtk/verti.xbm --- wxPython-src-2.8.12.1.orig/src/gtk/verti.xbm 2007-07-04 21:25:08.000000000 +0200 +++ wxPython-src-2.8.12.1/src/gtk/verti.xbm 2016-06-28 11:51:22.270747690 +0200 @@ -1,6 +1,6 @@ #define verti_width 15 #define verti_height 15 -static char verti_bits[] = { +static unsigned char verti_bits[] = { 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10};