Skip to content

Commit

Permalink
Remove useless casts to (void *)
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1v committed May 24, 2019
1 parent a920ba6 commit b3bd5f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/file_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ request_free(struct request *req) {
return;
}
SDL_free((void *) req->file);
SDL_free((void *) req);
SDL_free(req);
}

static bool
Expand Down
2 changes: 1 addition & 1 deletion app/src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b3bd5f1

Please sign in to comment.