summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-06-03 22:27:10 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-06-03 22:27:10 -0700
commit8a051c45632ee88a4ca0ca492fe8c5cae4b71299 (patch)
treebca15dee7205a24d1cff26854f57f9079ca3d4fa
parent7a464b04727516775c0a23325a2c69ba1357b00d (diff)
Stop casting free() arguments to (char *)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xrdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xrdb.c b/xrdb.c
index 0fb7bab..7475446 100644
--- a/xrdb.c
+++ b/xrdb.c
@@ -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