aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 7511a5aab1e..61ef15d9c3d 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -1127,15 +1127,15 @@ record_unwind_current_buffer (void)
1127#define GET_OVERLAYS_AT(posn, overlays, noverlays, nextp, chrq) \ 1127#define GET_OVERLAYS_AT(posn, overlays, noverlays, nextp, chrq) \
1128 do { \ 1128 do { \
1129 ptrdiff_t maxlen = 40; \ 1129 ptrdiff_t maxlen = 40; \
1130 overlays = alloca (maxlen * sizeof *overlays); \ 1130 SAFE_NALLOCA (overlays, 1, maxlen); \
1131 noverlays = overlays_at (posn, false, &overlays, &maxlen, \ 1131 (noverlays) = overlays_at (posn, false, &(overlays), &maxlen, \
1132 nextp, NULL, chrq); \ 1132 nextp, NULL, chrq); \
1133 if (noverlays > maxlen) \ 1133 if ((noverlays) > maxlen) \
1134 { \ 1134 { \
1135 maxlen = noverlays; \ 1135 maxlen = noverlays; \
1136 overlays = alloca (maxlen * sizeof *overlays); \ 1136 SAFE_NALLOCA (overlays, 1, maxlen); \
1137 noverlays = overlays_at (posn, false, &overlays, &maxlen, \ 1137 (noverlays) = overlays_at (posn, false, &(overlays), &maxlen, \
1138 nextp, NULL, chrq); \ 1138 nextp, NULL, chrq); \
1139 } \ 1139 } \
1140 } while (false) 1140 } while (false)
1141 1141