aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJason Rumney2008-12-25 10:33:33 +0000
committerJason Rumney2008-12-25 10:33:33 +0000
commit40b615d6bd9e330a4212a13a003fd0a230607278 (patch)
treefc8df5147b46278b0d83e54e3dcb590768adec83 /src/buffer.c
parent737ef6823b9745017310d25f2afe89d04f732224 (diff)
downloademacs-40b615d6bd9e330a4212a13a003fd0a230607278.tar.gz
emacs-40b615d6bd9e330a4212a13a003fd0a230607278.zip
(Fbuffer_swap_text): Use POINTER_TYPE.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 33667b79ead..3eaa8048631 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2183,7 +2183,7 @@ advance_to_char_boundary (byte_pos)
2183} 2183}
2184 2184
2185#ifdef REL_ALLOC 2185#ifdef REL_ALLOC
2186extern void r_alloc_reset_variable P_ ((PTR *, PTR *)); 2186extern void r_alloc_reset_variable P_ ((POINTER_TYPE *, POINTER_TYPE *));
2187#endif /* REL_ALLOC */ 2187#endif /* REL_ALLOC */
2188 2188
2189DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text, 2189DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text,
@@ -2228,10 +2228,10 @@ DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text,
2228 eassert (current_buffer->text == &current_buffer->own_text); 2228 eassert (current_buffer->text == &current_buffer->own_text);
2229 eassert (other_buffer->text == &other_buffer->own_text); 2229 eassert (other_buffer->text == &other_buffer->own_text);
2230#ifdef REL_ALLOC 2230#ifdef REL_ALLOC
2231 r_alloc_reset_variable ((PTR *) &current_buffer->own_text.beg, 2231 r_alloc_reset_variable ((POINTER_TYPE **) &current_buffer->own_text.beg,
2232 (PTR *) &other_buffer->own_text.beg); 2232 (POINTER_TYPE **) &other_buffer->own_text.beg);
2233 r_alloc_reset_variable ((PTR *) &other_buffer->own_text.beg, 2233 r_alloc_reset_variable ((POINTER_TYPE **) &other_buffer->own_text.beg,
2234 (PTR *) &current_buffer->own_text.beg); 2234 (POINTER_TYPE **) &current_buffer->own_text.beg);
2235#endif /* REL_ALLOC */ 2235#endif /* REL_ALLOC */
2236 2236
2237 swapfield (pt, EMACS_INT); 2237 swapfield (pt, EMACS_INT);