summaryrefslogtreecommitdiff
path: root/src/Region.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Region.c')
-rw-r--r--src/Region.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Region.c b/src/Region.c
index e75e1c1..842da06 100644
--- a/src/Region.c
+++ b/src/Region.c
@@ -316,7 +316,7 @@ XFixesFetchRegionAndBounds (Display *dpy,
long nbytes;
long nread;
- XFixesCheckExtension (dpy, info, 0);
+ XFixesCheckExtension (dpy, info, NULL);
LockDisplay (dpy);
GetReq (XFixesFetchRegion, req);
req->reqType = info->codes->major_opcode;
@@ -327,7 +327,7 @@ XFixesFetchRegionAndBounds (Display *dpy,
{
UnlockDisplay (dpy);
SyncHandle ();
- return 0;
+ return NULL;
}
bounds->x = rep.x;
bounds->y = rep.y;
@@ -342,7 +342,7 @@ XFixesFetchRegionAndBounds (Display *dpy,
_XEatData (dpy, nbytes);
UnlockDisplay (dpy);
SyncHandle ();
- return 0;
+ return NULL;
}
_XRead16 (dpy, (short *) rects, nrects << 3);
/* skip any padding */