summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-14 15:01:06 +0100
committermbkma <[email protected]>2022-03-19 11:26:13 +0100
commit75fb2de203206f7a0f76b3ba5241a79e31ef607f (patch)
tree79ea692c2f19548e901505c6b36f0ef6afd42ee5
parentea0fdb3c10118217e05a95a3239ddc4653c15bcf (diff)
downloadmate-screensaver-75fb2de203206f7a0f76b3ba5241a79e31ef607f.tar.bz2
mate-screensaver-75fb2de203206f7a0f76b3ba5241a79e31ef607f.tar.xz
gs-window-x11: Fix -Wshorten-64-to-32 warning
-rw-r--r--src/gs-window-x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 6274a1b..b6aa859 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -615,11 +615,11 @@ remove_watchdog_timer (GSWindow *window)
static void
add_watchdog_timer (GSWindow *window,
- glong timeout)
+ guint timeout)
{
window->priv->watchdog_timer_id = g_timeout_add (timeout,
- (GSourceFunc)watchdog_timer,
- window);
+ (GSourceFunc)watchdog_timer,
+ window);
}
static void