Skip to content

Commit

Permalink
Replace void * with correct type in start_screencast
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion authored and danshick committed May 5, 2020
1 parent a7ea407 commit f5bfe9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/screencast/screencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5bfe9f

Please sign in to comment.