From 969974175af08780cf53a839a83539f1dc7a274a Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 24 Jul 2022 21:46:34 +0200 Subject: [PATCH] [bsd] compilation fix --- src/osdep/unix/bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/unix/bsd.c b/src/osdep/unix/bsd.c index 93e597cb..a5ee5d2e 100644 --- a/src/osdep/unix/bsd.c +++ b/src/osdep/unix/bsd.c @@ -38,7 +38,7 @@ sysmouse_handler(void *data) { static struct interlink_event_mouse prev_mouse; static int prev_buttons; - struct sysmouse_spec *sp = data; + struct sysmouse_spec *sp = (struct sysmouse_spec *)data; void *itrm = sp->itrm; int fd = get_output_handle(); int buttons, change;