From 43593cb4173964a978a983e2eca4cbf86e01592a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 30 Jun 2015 09:06:21 -0700 Subject: [PATCH] Fix pointer signedness glitch * src/font.c (font_load_for_lface): Use SSDATA, not SDATA. --- src/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])) { -- 2.39.5