aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/PutImage.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/PutImage.c')
-rw-r--r--nx-X11/lib/X11/PutImage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/lib/X11/PutImage.c b/nx-X11/lib/X11/PutImage.c
index 934fabe0f..e6ac9a23f 100644
--- a/nx-X11/lib/X11/PutImage.c
+++ b/nx-X11/lib/X11/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