changeset 11420:8ab99c3646a7

(compute_char_face): Don't use NULL.
author Richard M. Stallman <rms@gnu.org>
date Thu, 13 Apr 1995 16:56:05 +0000
parents e3e288e792a9
children c53961dfba50
files src/xfaces.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Thu Apr 13 16:55:10 1995 +0000
+++ b/src/xfaces.c	Thu Apr 13 16:56:05 1995 +0000
@@ -867,7 +867,8 @@
     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 @@
 	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)