diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-06-03 22:27:10 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-06-03 22:27:10 -0700 |
commit | 8a051c45632ee88a4ca0ca492fe8c5cae4b71299 (patch) | |
tree | bca15dee7205a24d1cff26854f57f9079ca3d4fa | |
parent | 7a464b04727516775c0a23325a2c69ba1357b00d (diff) |
Stop casting free() arguments to (char *)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xrdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -237,7 +237,7 @@ FreeEntries(Entries *e) free(e->entry[i].value); } } - free((char *)e->entry); + free(e->entry); } static void @@ -663,7 +663,7 @@ DoScreenDefines(Display *display, int scrno, String *defs) } } } - XFree((char *)vinfos); + XFree(vinfos); } static Entry * @@ -1401,7 +1401,7 @@ ShuffleEntries(Entries *db, Entries *dbs, unsigned int num) dbs[j].entry[hits[j]].usable = False; } } - free((char *)hits); + free(hits); } static void |