aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/IntAtom.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/IntAtom.c')
-rw-r--r--libX11/src/IntAtom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libX11/src/IntAtom.c b/libX11/src/IntAtom.c
index 25466ca20..3042b65dd 100644
--- a/libX11/src/IntAtom.c
+++ b/libX11/src/IntAtom.c
@@ -47,9 +47,9 @@ _XFreeAtomTable(Display *dpy)
table = dpy->atoms->table;
for (i = TABLESIZE; --i >= 0; ) {
if ((e = *table++) && (e != RESERVED))
- Xfree((char *)e);
+ Xfree(e);
}
- Xfree((char *)dpy->atoms);
+ Xfree(dpy->atoms);
}
}
@@ -153,7 +153,7 @@ _XUpdateAtomCache(
e->atom = atom;
strcpy(EntryName(e), name);
if ((oe = dpy->atoms->table[idx]) && (oe != RESERVED))
- Xfree((char *)oe);
+ Xfree(oe);
dpy->atoms->table[idx] = e;
}
}