summaryrefslogtreecommitdiff
path: root/src/xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlib.c')
-rw-r--r--src/xlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xlib.c b/src/xlib.c
index 765cf9d..d1809f9 100644
--- a/src/xlib.c
+++ b/src/xlib.c
@@ -179,7 +179,7 @@ _XcursorGetBitmap (Display *dpy, Pixmap bitmap)
info = _XcursorGetDisplayInfo (dpy);
if (!info)
- return 0;
+ return NULL;
LockDisplay (dpy);
for (i = 0; i < NUM_BITMAPS; i++)
if (info->bitmaps[i].bitmap == bitmap)
@@ -189,7 +189,7 @@ _XcursorGetBitmap (Display *dpy, Pixmap bitmap)
return &info->bitmaps[i];
}
UnlockDisplay (dpy);
- return 0;
+ return NULL;
}
static Bool