aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-06-30 09:06:21 -0700
committerPaul Eggert2015-06-30 09:07:35 -0700
commit43593cb4173964a978a983e2eca4cbf86e01592a (patch)
tree428962d28d714e959d83d3eab4753b404648d159
parentedd09381c618125d8aa23c9414034fbeee176305 (diff)
downloademacs-43593cb4173964a978a983e2eca4cbf86e01592a.tar.gz
emacs-43593cb4173964a978a983e2eca4cbf86e01592a.zip
Fix pointer signedness glitch
* src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
-rw-r--r--src/font.c2
1 files changed, 1 insertions, 1 deletions
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)
3346 name = Ffont_get (spec, QCuser_spec); 3346 name = Ffont_get (spec, QCuser_spec);
3347 if (STRINGP (name)) 3347 if (STRINGP (name))
3348 { 3348 {
3349 char *p = SDATA (name), *q = strrchr (p, '-'); 3349 char *p = SSDATA (name), *q = strrchr (p, '-');
3350 3350
3351 if (q != NULL && c_isdigit (q[1])) 3351 if (q != NULL && c_isdigit (q[1]))
3352 { 3352 {