diff options
Diffstat (limited to 'x11perf.c')
-rw-r--r-- | x11perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -901,7 +901,7 @@ main(int argc, char *argv[]) /* Save away argv, argc, for usage to print out */ saveargc = argc; - saveargv = (char **) malloc(argc * sizeof(char *)); + saveargv = malloc(argc * sizeof(char *)); for (i = 0; i != argc; i++) { saveargv[i] = argv[i]; } @@ -912,7 +912,7 @@ main(int argc, char *argv[]) /* Count number of tests */ ForEachTest(numTests); - doit = (Bool *)calloc(numTests, sizeof(Bool)); + doit = calloc(numTests, sizeof(Bool)); /* Parse arguments */ program_name = argv[0]; |