From: Adrian Robert Date: Mon, 18 May 2009 08:02:06 +0000 (+0000) Subject: * nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning. X-Git-Tag: emacs-pretest-23.0.94~31 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d087c0685b3738c2f4bc8be85758ce4e317d58d;p=emacs.git * nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning. --- diff --git a/src/nsfont.m b/src/nsfont.m index a6ea4843067..bb9754c8b6e 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -1229,7 +1229,7 @@ void nsfont_make_fontset_for_font (Lisp_Object name, Lisp_Object font_object) 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); }