From b3bd5f1b80ee0da8bd7eae7318cb1e7b164f46d2 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 24 May 2019 17:15:32 +0200 Subject: [PATCH] Remove useless casts to (void *) --- app/src/file_handler.c | 2 +- app/src/server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/file_handler.c b/app/src/file_handler.c index d3dedcd2..e9d5e02b 100644 --- a/app/src/file_handler.c +++ b/app/src/file_handler.c @@ -30,7 +30,7 @@ request_free(struct request *req) { return; } SDL_free((void *) req->file); - SDL_free((void *) req); + SDL_free(req); } static bool diff --git a/app/src/server.c b/app/src/server.c index 972fbbaa..c37e0070 100644 --- a/app/src/server.c +++ b/app/src/server.c @@ -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; }