Commit fd573f31 authored by Paul Eggert's avatar Paul Eggert

* xfont.c (compare_font_names): Redo to omit the need for casts.

parent fca8d6b6
2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
* xfont.c (compare_font_names): Redo to omit the need for casts.
2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
* xfns.c (Fx_change_window_property): Doc fix.
......
......@@ -164,8 +164,9 @@ xfont_get_cache (FRAME_PTR f)
static int
compare_font_names (const void *name1, const void *name2)
{
return xstrcasecmp (*(const char **) name1,
*(const char **) name2);
char *const *n1 = name1;
char *const *n2 = name2;
return xstrcasecmp (*n1, *n2);
}
/* Decode XLFD as iso-8859-1 into OUTPUT, and return the byte length
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment