diff options
| author | Paul Eggert | 2011-01-30 14:17:44 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-01-30 14:17:44 -0800 |
| commit | 42a5b22fc0201fe98ad8a093c3ab91122ab3a72b (patch) | |
| tree | e9e37d432417ac382a36b9e6f26db38e59ca0585 /src/bytecode.c | |
| parent | 3de84ad9c45382c181e3383d433442f4e19ba722 (diff) | |
| download | emacs-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/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 038050cf114..fd2680e4054 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -871,7 +871,7 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 871 | case Btemp_output_buffer_setup: | 871 | case Btemp_output_buffer_setup: |
| 872 | BEFORE_POTENTIAL_GC (); | 872 | BEFORE_POTENTIAL_GC (); |
| 873 | CHECK_STRING (TOP); | 873 | CHECK_STRING (TOP); |
| 874 | temp_output_buffer_setup (SDATA (TOP)); | 874 | temp_output_buffer_setup (SSDATA (TOP)); |
| 875 | AFTER_POTENTIAL_GC (); | 875 | AFTER_POTENTIAL_GC (); |
| 876 | TOP = Vstandard_output; | 876 | TOP = Vstandard_output; |
| 877 | break; | 877 | break; |
| @@ -1709,4 +1709,3 @@ integer, it is incremented each time that symbol's function is called. */); | |||
| 1709 | } | 1709 | } |
| 1710 | #endif | 1710 | #endif |
| 1711 | } | 1711 | } |
| 1712 | |||