changeset 103245:c878fe60e8be

* nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 18 May 2009 08:02:06 +0000
parents 1fd5de3f20cd
children 94e71fa6e9ac
files src/nsfont.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
           }