From 9519919ff551422d801f99f948b5f8438de359a0 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Mon, 31 Jul 2017 01:21:58 +0000 Subject: [PATCH] ssld/ssld.c: misc cleanup for compiler warning ssld.c:1251:14: warning: signed shift result (0x80000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Wshift-sign-overflow] --- ssld/ssld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssld/ssld.c b/ssld/ssld.c index 090570d7..18237ef8 100644 --- a/ssld/ssld.c +++ b/ssld/ssld.c @@ -1248,7 +1248,7 @@ main(int argc, char **argv) /* this is really useless... */ send_i_am_useless(mod_ctl); /* sleep until the ircd kills us */ - rb_sleep(2 << 30, 0); + rb_sleep(1 << 30, 0); exit(1); }