--- grhino-0.16.0/highlight_white.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/highlight_white.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * highlight_white_xpm[] = { +static const char * highlight_white_xpm[] = { "40 40 23 1", " c None", ". c #000000", --- grhino-0.16.0/gtp-rhino.cc.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/gtp-rhino.cc 2008-02-22 15:43:09.000000000 -0500 @@ -55,7 +55,7 @@ // Grab version number in VERSION variable #undef VERSION -char * +const char * #include "scripts/version" ; --- grhino-0.16.0/hint_white.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/hint_white.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * hint_white_xpm[] = { +static const char * hint_white_xpm[] = { "40 40 6 1", " c None", ". c #000000", --- grhino-0.16.0/right.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/right.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * right_xpm[] = { +static const char * right_xpm[] = { "20 320 3 1", " c None", ". c #000000", --- grhino-0.16.0/icon_bw.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/icon_bw.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * icon_bw_xpm[] = { +static const char * icon_bw_xpm[] = { "48 48 11 1", " c None", ". c #000000", --- grhino-0.16.0/black_last.xpm.types 2006-11-25 12:07:41.000000000 -0500 +++ grhino-0.16.0/black_last.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * black_last_xpm[] = { +static const char * black_last_xpm[] = { "40 40 28 1", " c None", ". c #000000", --- grhino-0.16.0/hint_black.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/hint_black.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * hint_black_xpm[] = { +static const char * hint_black_xpm[] = { "40 40 6 1", " c None", ". c #000000", --- grhino-0.16.0/icon_white.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/icon_white.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * icon_white_xpm[] = { +static const char * icon_white_xpm[] = { "48 48 11 1", " c None", ". c #000000", --- grhino-0.16.0/highlight_black.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/highlight_black.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * highlight_black_xpm[] = { +static const char * highlight_black_xpm[] = { "40 40 22 1", " c None", ". c #000000", --- grhino-0.16.0/ggamewin.cc.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/ggamewin.cc 2008-02-22 15:45:45.000000000 -0500 @@ -76,7 +76,7 @@ for (size_t i = 0; i != res->vec->size(); ++i) { - snprintf(buf1, 20, "%d", i+1); + snprintf(buf1, 20, "%d", (int)i+1); if (res->vec->operator[](i).random) { snprintf(buf2, 20, _("Rand %d"), --- grhino-0.16.0/highlight_empty.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/highlight_empty.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * highlight_empty_xpm[] = { +static const char * highlight_empty_xpm[] = { "40 40 3 1", " c None", ". c #000000", --- grhino-0.16.0/grhino.cc.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/grhino.cc 2008-02-22 15:44:27.000000000 -0500 @@ -87,7 +87,7 @@ // Grab version number in VERSION variable #undef VERSION -char * +const char * #include "scripts/version" ; --- grhino-0.16.0/icon_empty.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/icon_empty.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * icon_empty_xpm[] = { +static const char * icon_empty_xpm[] = { "48 48 1 1", " c None", " ", --- grhino-0.16.0/icon_black.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/icon_black.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * icon_black_xpm[] = { +static const char * icon_black_xpm[] = { "48 48 2 1", " c None", ". c #000000", --- grhino-0.16.0/empty.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/empty.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * empty_xpm[] = { +static const char * empty_xpm[] = { "40 40 3 1", " c None", ". c #000000", --- grhino-0.16.0/bottom.xpm.types 2006-11-25 12:07:41.000000000 -0500 +++ grhino-0.16.0/bottom.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * bottom_xpm[] = { +static const char * bottom_xpm[] = { "360 20 3 1", " c None", ". c #C3C3C3", --- grhino-0.16.0/icon_new.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/icon_new.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * icon_new_xpm[] = { +static const char * icon_new_xpm[] = { "38 38 50 1", " c None", ". c #3FDD18", --- grhino-0.16.0/white_last.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/white_last.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * white_last_xpm[] = { +static const char * white_last_xpm[] = { "40 40 30 1", " c None", ". c #000000", --- grhino-0.16.0/left.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/left.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * left_xpm[] = { +static const char * left_xpm[] = { "20 320 11 1", " c None", ". c #C3C3C3", --- grhino-0.16.0/top.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/top.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * top_xpm[] = { +static const char * top_xpm[] = { "360 20 12 1", " c None", ". c #C3C3C3", --- grhino-0.16.0/ghistwin.cc.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/ghistwin.cc 2008-02-22 15:46:39.000000000 -0500 @@ -53,8 +53,8 @@ static gchar m[NUM_MOVE][3]; // Enough space for A1 .. H8 and string // termination static gchar p[NUM_MOVE][3]; - static gchar *pos_table_x; - static gchar *pos_table_y; + static const gchar *pos_table_x; + static const gchar *pos_table_y; static GdkPixbuf *color_table[3]; static GdkPixbuf *empty_player_pixbuf; static GdkPixbuf *black_player_pixbuf; --- grhino-0.16.0/white.xpm.types 2006-11-25 12:07:42.000000000 -0500 +++ grhino-0.16.0/white.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * white_xpm[] = { +static const char * white_xpm[] = { "40 40 23 1", " c None", ". c #000000", --- grhino-0.16.0/black.xpm.types 2006-11-25 12:07:41.000000000 -0500 +++ grhino-0.16.0/black.xpm 2008-02-22 15:43:09.000000000 -0500 @@ -1,5 +1,5 @@ /* XPM */ -static char * black_xpm[] = { +static const char * black_xpm[] = { "40 40 22 1", " c None", ". c #000000",