summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 72b94a4..4b81c3c 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -743,7 +743,7 @@ static void _calculate_timeout(NotifyDaemon* daemon, NotifyTimeout* nt, int time
theme_set_notification_timeout(nt->nw, timeout);
- glong usec = timeout * 1000; /* convert from msec to usec */
+ glong usec = timeout * 1000L; /* convert from msec to usec */
/*
* If it's less than 0, wrap around back to MAXLONG.