aboutsummaryrefslogtreecommitdiffstats
path: root/src/minibuf.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/minibuf.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/minibuf.c')
-rw-r--r--src/minibuf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index e4d4e47a55e..921657b450a 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1762,7 +1762,7 @@ the values STRING, PREDICATE and `lambda'. */)
1762 { 1762 {
1763 /* Bypass intern-soft as that loses for nil. */ 1763 /* Bypass intern-soft as that loses for nil. */
1764 tem = oblookup (collection, 1764 tem = oblookup (collection,
1765 SDATA (string), 1765 SSDATA (string),
1766 SCHARS (string), 1766 SCHARS (string),
1767 SBYTES (string)); 1767 SBYTES (string));
1768 if (!SYMBOLP (tem)) 1768 if (!SYMBOLP (tem))
@@ -1773,7 +1773,7 @@ the values STRING, PREDICATE and `lambda'. */)
1773 string = Fstring_make_multibyte (string); 1773 string = Fstring_make_multibyte (string);
1774 1774
1775 tem = oblookup (collection, 1775 tem = oblookup (collection,
1776 SDATA (string), 1776 SSDATA (string),
1777 SCHARS (string), 1777 SCHARS (string),
1778 SBYTES (string)); 1778 SBYTES (string));
1779 } 1779 }
@@ -2185,4 +2185,3 @@ properties. */);
2185 defsubr (&Sassoc_string); 2185 defsubr (&Sassoc_string);
2186 defsubr (&Scompleting_read); 2186 defsubr (&Scompleting_read);
2187} 2187}
2188