aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/PutImage.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/PutImage.c')
-rw-r--r--libX11/src/PutImage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libX11/src/PutImage.c b/libX11/src/PutImage.c
index 934fabe0f..e6ac9a23f 100644
--- a/libX11/src/PutImage.c
+++ b/libX11/src/PutImage.c
@@ -794,7 +794,7 @@ SendZImage(
((req_yoffset + req->height) < (unsigned)image->height))) {
Data(dpy, (char *)src, length);
if (shifted_src)
- Xfree((char *)shifted_src);
+ Xfree(shifted_src);
return;
}
@@ -804,7 +804,7 @@ SendZImage(
else
if ((dest = (unsigned char *)
_XAllocScratch(dpy, length)) == NULL) {
- if (shifted_src) Xfree((char *) shifted_src);
+ if (shifted_src) Xfree(shifted_src);
UnGetReq(PutImage);
return;
}
@@ -832,7 +832,7 @@ SendZImage(
_XSend(dpy, (char *)dest, length);
if (shifted_src)
- Xfree((char *)shifted_src);
+ Xfree(shifted_src);
}
static void