aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/VisUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/VisUtil.c')
-rw-r--r--libX11/src/VisUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/VisUtil.c b/libX11/src/VisUtil.c
index aa679928a..17ca3631f 100644
--- a/libX11/src/VisUtil.c
+++ b/libX11/src/VisUtil.c
@@ -133,7 +133,7 @@ XVisualInfo *XGetVisualInfo(
total += 10;
if (! (vip_base = Xrealloc(vip_base,
sizeof(XVisualInfo) * total))) {
- Xfree((char *) old_vip_base);
+ Xfree(old_vip_base);
UnlockDisplay(dpy);
return (XVisualInfo *) NULL;
}
@@ -170,7 +170,7 @@ XVisualInfo *XGetVisualInfo(
return vip_base;
}
- Xfree((char *) vip_base);
+ Xfree(vip_base);
*nitems = 0;
return NULL;
}