aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.h b/src/buffer.h
index b58c5c165e1..0615f85bfe6 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -918,13 +918,13 @@ extern void mmap_set_vars (int);
918#define GET_OVERLAYS_AT(posn, overlays, noverlays, nextp, chrq) \ 918#define GET_OVERLAYS_AT(posn, overlays, noverlays, nextp, chrq) \
919 do { \ 919 do { \
920 ptrdiff_t maxlen = 40; \ 920 ptrdiff_t maxlen = 40; \
921 overlays = (Lisp_Object *) alloca (maxlen * sizeof (Lisp_Object)); \ 921 overlays = alloca (maxlen * sizeof *overlays); \
922 noverlays = overlays_at (posn, 0, &overlays, &maxlen, \ 922 noverlays = overlays_at (posn, 0, &overlays, &maxlen, \
923 nextp, NULL, chrq); \ 923 nextp, NULL, chrq); \
924 if (noverlays > maxlen) \ 924 if (noverlays > maxlen) \
925 { \ 925 { \
926 maxlen = noverlays; \ 926 maxlen = noverlays; \
927 overlays = (Lisp_Object *) alloca (maxlen * sizeof (Lisp_Object)); \ 927 overlays = alloca (maxlen * sizeof *overlays); \
928 noverlays = overlays_at (posn, 0, &overlays, &maxlen, \ 928 noverlays = overlays_at (posn, 0, &overlays, &maxlen, \
929 nextp, NULL, chrq); \ 929 nextp, NULL, chrq); \
930 } \ 930 } \