]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 18 May 2009 08:02:06 +0000 (08:02 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 18 May 2009 08:02:06 +0000 (08:02 +0000)
src/nsfont.m

index a6ea48430672ce3419d44066498dc8cf3c40e2ab..bb9754c8b6e7c2da8f5ba5364b6df0444c3a046b 100644 (file)
@@ -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);
           }