Remove useless casts to (void *)

This commit is contained in:
Romain Vimont 2019-05-24 17:15:32 +02:00
parent a920ba6471
commit b3bd5f1b80
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ request_free(struct request *req) {
return;
}
SDL_free((void *) req->file);
SDL_free((void *) req);
SDL_free(req);
}
static bool

View file

@ -210,7 +210,7 @@ server_start(struct server *server, const char *serial,
close_socket(&server->server_socket);
}
disable_tunnel(server);
SDL_free((void *) server->serial);
SDL_free(server->serial);
return false;
}