mirror of https://github.com/Genymobile/scrcpy
Remove useless casts to (void *)
This commit is contained in:
parent
a920ba6471
commit
b3bd5f1b80
|
@ -30,7 +30,7 @@ request_free(struct request *req) {
|
|||
return;
|
||||
}
|
||||
SDL_free((void *) req->file);
|
||||
SDL_free((void *) req);
|
||||
SDL_free(req);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue