--- np2/x11/gtk2/gtk_font.c 2011/01/15 18:43:13 1.8 +++ np2/x11/gtk2/gtk_font.c 2012/01/23 04:54:47 1.9 @@ -91,7 +91,7 @@ fontmng_create(int size, UINT type, cons } g_snprintf(buf, sizeof(buf), "%s %s %s %d", - fontface ? (char *)fontface : fontname, + fontface ? (const char *)fontface : fontname, (type & FDAT_BOLD) ? "bold" : "medium", (type & FDAT_PROPORTIONAL) ? "" : "", size);