From 7af318194c2b9ade7c15e0e7f427041388e4a483 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 13 Apr 1995 16:56:05 +0000 Subject: [PATCH] (compute_char_face): Don't use NULL. --- src/xfaces.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xfaces.c b/src/xfaces.c index 503f3b5a0b..04ed1b2309 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) -- 2.20.1