From: Alan T. DeKok Date: Thu, 20 Apr 2017 14:56:09 +0000 (-0400) Subject: initialize lowest number to ~0, so we pick a real lowest number X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc80645d40f3091cfbc685397b863bcd60078b11;p=thirdparty%2Ffreeradius-server.git initialize lowest number to ~0, so we pick a real lowest number --- diff --git a/src/main/unlang_interpret.c b/src/main/unlang_interpret.c index c6b4f83269a..43812a777e5 100644 --- a/src/main/unlang_interpret.c +++ b/src/main/unlang_interpret.c @@ -246,7 +246,7 @@ static unlang_action_t unlang_load_balance(REQUEST *request, unlang_stack_t *sta uint64_t lowest_active_callers; randomly_choose: - lowest_active_callers = 0; + lowest_active_callers = ~(uint64_t ) 0; /* * Choose a child at random.