From: Paul Eggert Date: Tue, 30 Jun 2015 16:06:21 +0000 (-0700) Subject: Fix pointer signedness glitch X-Git-Tag: emacs-25.0.90~1602 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=43593cb4173964a978a983e2eca4cbf86e01592a;p=emacs.git Fix pointer signedness glitch * src/font.c (font_load_for_lface): Use SSDATA, not SDATA. --- diff --git a/src/font.c b/src/font.c index 575975ced73..50b966ec83e 100644 --- a/src/font.c +++ b/src/font.c @@ -3346,7 +3346,7 @@ font_load_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec) name = Ffont_get (spec, QCuser_spec); if (STRINGP (name)) { - char *p = SDATA (name), *q = strrchr (p, '-'); + char *p = SSDATA (name), *q = strrchr (p, '-'); if (q != NULL && c_isdigit (q[1])) {