--- np2/x11/gtk2/gtk_font.c 2011/01/15 16:01:53 1.7 +++ np2/x11/gtk2/gtk_font.c 2012/01/23 04:54:47 1.9 @@ -1,5 +1,3 @@ -/* $Id: gtk_font.c,v 1.7 2011/01/15 16:01:53 monaka Exp $ */ - /* * Copyright (c) 2004 NONAKA Kimihiro * All rights reserved. @@ -93,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);