diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-06-10 16:16:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-06-10 16:19:39 -0700 |
commit | bba869e4ff5826d48ea409b4a8bf4ff7ad414453 (patch) | |
tree | 1aacbe49fbbb631e26d68e9d0687e38a347241f3 /src/Xdbe.c | |
parent | ace42fef753c1444cfc208da6bb282abbbc279ab (diff) | |
download | xorg-lib-libXext-bba869e4ff5826d48ea409b4a8bf4ff7ad414453.tar.gz |
Remove unnecessary (char *) casts from Xfree() arguments
These also haven't been needed since C89
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Xdbe.c')
-rw-r--r-- | src/Xdbe.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -372,14 +372,14 @@ XdbeScreenVisualInfo *XdbeGetVisualInfo ( scrVisInfo[i].visinfo = NULL; /* if we can not allocate the list of visual/depth info - * then free the lists that we already allocate as well + * then free the lists that we already allocated as well * as the visual info list itself */ if (scrVisInfo[i].visinfo == NULL) { for (j = 0; j < i; j++) { - Xfree ((char *)scrVisInfo[j].visinfo); + Xfree (scrVisInfo[j].visinfo); } - Xfree ((char *)scrVisInfo); + Xfree (scrVisInfo); _XEatDataWords(dpy, rep.length); UnlockDisplay (dpy); SyncHandle (); |