diff options
-rw-r--r-- | src/xfaces.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 503f3b5a0b0..04ed1b23095 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -867,7 +867,8 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse) len = 40; overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); - noverlays = overlays_at (pos, 0, &overlay_vec, &len, &next_overlay, NULL); + noverlays = overlays_at (pos, 0, &overlay_vec, &len, + &next_overlay, (int *) 0); /* If there are more than 40, make enough space for all, and try again. */ @@ -876,7 +877,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse) len = noverlays; overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); noverlays = overlays_at (pos, 0, &overlay_vec, &len, - &next_overlay, NULL); + &next_overlay, (int *) 0); } if (next_overlay < endpos) |