]> git.eshelyaron.com Git - emacs.git/commitdiff
(compute_char_face): Don't use NULL.
authorRichard M. Stallman <rms@gnu.org>
Thu, 13 Apr 1995 16:56:05 +0000 (16:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 13 Apr 1995 16:56:05 +0000 (16:56 +0000)
src/xfaces.c

index 503f3b5a0b0e2bf95a49173119dacfcdfce0253d..04ed1b230958b3b7c252056888d8a04a0709204d 100644 (file)
@@ -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)