diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-04-13 16:56:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-04-13 16:56:05 +0000 |
commit | f9aff3f4ded05d1c61df69598ca2e1be673f6d0d (patch) | |
tree | 597fe595297589c21005b2e405693e9f0e2b43f5 /src/xfaces.c | |
parent | aef6d836b52da600b45fb132e3b96c4eeb140dc2 (diff) | |
download | emacs-f9aff3f4ded05d1c61df69598ca2e1be673f6d0d.tar.gz |
(compute_char_face): Don't use NULL.
Diffstat (limited to 'src/xfaces.c')
-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) |