From 5b0dcfc8fed6253b4a69c6b039b16ad7f83dc833 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 30 Jan 2016 20:24:17 -0800 Subject: rail: fix declaration of rail_desktop_resize() Arguments without a type default to int. The caller passes a pointer to XEvent, so use that type. --- sesman/chansrv/rail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sesman/chansrv/rail.c') diff --git a/sesman/chansrv/rail.c b/sesman/chansrv/rail.c index f3777970..f12d8e3f 100644 --- a/sesman/chansrv/rail.c +++ b/sesman/chansrv/rail.c @@ -1775,7 +1775,7 @@ rail_configure_window(XConfigureEvent *config) /*****************************************************************************/ static int -rail_desktop_resize(lxevent) +rail_desktop_resize(XEvent *lxevent) { LOG(0, ("rail_desktop_resize:")); return 0; -- cgit v1.2.1