Commit 7818bcdd authored by Paul Eggert's avatar Paul Eggert
Browse files

Port to platforms where NULL is a pointer

* src/image.c (x_create_x_image_and_pixmap):
The Picture type is an integer, not a pointer.
Come to think of it, Picture is really XID, and as
far as I can tell, all-bits-one is the invalid XID,
not all-bits-zero.  However that is a bigger issue;
for now, this patch just unbreaks the build.
parent 6bac9ea1
Pipeline #565 passed with stage
in 47 minutes and 48 seconds
......@@ -2200,7 +2200,7 @@ x_create_x_image_and_pixmap (struct frame *f, int width, int height, int depth,
image_error ("Specified image bit depth is not supported by XRender");
*picture = NULL;
*picture = 0;
# endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment