# HG changeset patch # User Adrian Robert # Date 1242633726 0 # Node ID c878fe60e8be4893acc28ebe38faf78d05c6e9b2 # Parent 1fd5de3f20cda5fc37c2c4eee5ccfe0d01eb993f * nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning. diff -r 1fd5de3f20cd -r c878fe60e8be src/nsfont.m --- a/src/nsfont.m Mon May 18 08:01:51 2009 +0000 +++ b/src/nsfont.m Mon May 18 08:02:06 2009 +0000 @@ -1229,7 +1229,7 @@ these, calling set_fontset_font generates an abort. Try to guess which ones these are and avoid it. */ if (strstr (SDATA (SYMBOL_NAME (scripts[i])), "mathematical-") - != SDATA (SYMBOL_NAME (scripts[i]))) + != (char *)SDATA (SYMBOL_NAME (scripts[i]))) Fset_fontset_font (name, scripts[i], famAndReg, Qnil, Qnil); free (family); }