mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-17 00:30:37 -08:00
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.
This commit is contained in:
parent
6bac9ea177
commit
7818bcdd6c
1 changed files with 1 additions and 1 deletions
|
|
@ -2200,7 +2200,7 @@ x_create_x_image_and_pixmap (struct frame *f, int width, int height, int depth,
|
|||
else
|
||||
{
|
||||
image_error ("Specified image bit depth is not supported by XRender");
|
||||
*picture = NULL;
|
||||
*picture = 0;
|
||||
}
|
||||
}
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue