diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 17:40:24 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-29 17:40:24 -0200 |
commit | 9784df5ba9f04163da7486c005eaf2383c37b127 (patch) | |
tree | 2f9975b894b75322ecbc93ca6bdb752fde17eb30 /src/Region.c | |
parent | 839ef4a38dceec053c3fb33878e59eb26bd8d580 (diff) |
Janitor: Correct make distcheck and gcc/sparse warnings.
Diffstat (limited to 'src/Region.c')
-rw-r--r-- | src/Region.c | 6 |
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 */ |