From 2d087c0685b3738c2f4bc8be85758ce4e317d58d Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Mon, 18 May 2009 08:02:06 +0000 Subject: [PATCH] * nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning. --- src/nsfont.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5