summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-14 15:00:41 +0100
committermbkma <[email protected]>2022-03-19 11:26:13 +0100
commitea0fdb3c10118217e05a95a3239ddc4653c15bcf (patch)
treeb95b8ded619896ca10704aab692082f3a8f10c39
parent7b8bc9c362f8ece315998e7f9e602131ecfb3c10 (diff)
downloadmate-screensaver-ea0fdb3c10118217e05a95a3239ddc4653c15bcf.tar.bz2
mate-screensaver-ea0fdb3c10118217e05a95a3239ddc4653c15bcf.tar.xz
gs-watcher-x11: Fix -Wshorten-64-to-32 warning
-rw-r--r--src/gs-watcher-x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gs-watcher-x11.c b/src/gs-watcher-x11.c
index a5e69f9..98b32d1 100644
--- a/src/gs-watcher-x11.c
+++ b/src/gs-watcher-x11.c
@@ -89,11 +89,11 @@ remove_watchdog_timer (GSWatcher *watcher)
static void
add_watchdog_timer (GSWatcher *watcher,
- glong timeout)
+ guint timeout)
{
watcher->priv->watchdog_timer_id = g_timeout_add (timeout,
- (GSourceFunc)watchdog_timer,
- watcher);
+ (GSourceFunc)watchdog_timer,
+ watcher);
}
static void