mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-23 01:59:49 +01:00
Replace void * with correct type in start_screencast
This commit is contained in:
parent
a7ea407e2f
commit
f5bfe9fe12
1 changed files with 1 additions and 3 deletions
|
@ -95,9 +95,7 @@ int setup_outputs(struct xdpw_screencast_context *ctx, struct xdpw_session *sess
|
|||
|
||||
}
|
||||
|
||||
static int start_screencast(void *data) {
|
||||
struct xdpw_screencast_instance *cast = data;
|
||||
|
||||
static int start_screencast(struct xdpw_screencast_instance *cast) {
|
||||
xdpw_wlr_register_cb(cast);
|
||||
|
||||
// process at least one frame so that we know
|
||||
|
|
Loading…
Reference in a new issue