summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index d7bba339..4c14dda5 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -19,7 +19,7 @@ safe_sleep(unsigned int seconds)
sigemptyset(&set);
sigprocmask(SIG_BLOCK, &set, &oldset);
if (sigismember(&oldset, SIGALRM)) {
- unsigned long retv;
+ unsigned int retv;
log_usies("SAFE_SLEEP ", "avoid hang");
sigemptyset(&set);
sigaddset(&set, SIGALRM);