diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-10-10 14:57:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-10-10 14:57:16 -0700 |
commit | 9df9640643fae7b922b18ee219d6d9694345df14 (patch) | |
tree | c7b881680d3ef06343abe05385d497e5827e89b5 /src/xlib.c | |
parent | b6b9f5885566e4c2df8e3319fe092c22f319983f (diff) |
Fix many sparse warnings: Using plain integer as NULL pointer
Diffstat (limited to 'src/xlib.c')
-rw-r--r-- | src/xlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |