summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index 3799d6b..4aac6ca 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -302,8 +302,10 @@ show_clock (void *data)
}
void
-goto_window_number (int n)
+goto_window_number (void *data)
{
+ int n = (int)data;
+
rp_window *win;
if ((win = find_window_by_number (n)) == NULL)