aboutsummaryrefslogtreecommitdiffstats
path: root/src/font.c
diff options
context:
space:
mode:
authorPaul Eggert2011-01-30 14:17:44 -0800
committerPaul Eggert2011-01-30 14:17:44 -0800
commit42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (patch)
treee9e37d432417ac382a36b9e6f26db38e59ca0585 /src/font.c
parent3de84ad9c45382c181e3383d433442f4e19ba722 (diff)
downloademacs-42a5b22fc0201fe98ad8a093c3ab91122ab3a72b.tar.gz
emacs-42a5b22fc0201fe98ad8a093c3ab91122ab3a72b.zip
Use SSDATA when the context wants char *.
* alloc.c, buffer.c, bytecode.c, callproc.c, dired.c: * dispnew.c, doc.c, editfns.c, emacs.c, fileio.c, filelock.c: * fns.c, font.c, frame.c, image.c, indent.c, keyboard.c: * lread.c, minibuf.c, print.c, process.c, search.c, widget.c: * xdisp.c, xfaces.c, xfns.c, xml.c, xselect.c, xterm.c: Use SSDATA (not SDATA) when the context of the expression wants char * (not unsigned char *).
Diffstat (limited to 'src/font.c')
-rw-r--r--src/font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.c b/src/font.c
index 58d8dc90962..907271566da 100644
--- a/src/font.c
+++ b/src/font.c
@@ -3591,7 +3591,7 @@ font_filter_properties (Lisp_Object font,
3591 { 3591 {
3592 Lisp_Object key = XCAR (XCAR (it)); 3592 Lisp_Object key = XCAR (XCAR (it));
3593 Lisp_Object val = XCDR (XCAR (it)); 3593 Lisp_Object val = XCDR (XCAR (it));
3594 char *keystr = SDATA (SYMBOL_NAME (key)); 3594 char *keystr = SSDATA (SYMBOL_NAME (key));
3595 3595
3596 if (strcmp (boolean_properties[i], keystr) == 0) 3596 if (strcmp (boolean_properties[i], keystr) == 0)
3597 { 3597 {
@@ -3616,7 +3616,7 @@ font_filter_properties (Lisp_Object font,
3616 { 3616 {
3617 Lisp_Object key = XCAR (XCAR (it)); 3617 Lisp_Object key = XCAR (XCAR (it));
3618 Lisp_Object val = XCDR (XCAR (it)); 3618 Lisp_Object val = XCDR (XCAR (it));
3619 char *keystr = SDATA (SYMBOL_NAME (key)); 3619 char *keystr = SSDATA (SYMBOL_NAME (key));
3620 if (strcmp (non_boolean_properties[i], keystr) == 0) 3620 if (strcmp (non_boolean_properties[i], keystr) == 0)
3621 Ffont_put (font, key, val); 3621 Ffont_put (font, key, val);
3622 } 3622 }