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; }