From ec278e60cc1e744b251c4f4ba8d0646b12af93c6 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 8 Apr 2019 08:34:40 +0200 Subject: [PATCH] unshadow --- client/util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/util.c b/client/util.c index b257ea766..f69138947 100644 --- a/client/util.c +++ b/client/util.c @@ -835,11 +835,11 @@ uint32_t reflect(uint32_t v, int b) { } uint64_t HornerScheme(uint64_t num, uint64_t divider, uint64_t factor) { - uint64_t remainder = 0, quotient = 0, result = 0; - remainder = num % divider; + uint64_t remaind = 0, quotient = 0, result = 0; + remaind = num % divider; quotient = num / divider; - if (!(quotient == 0 && remainder == 0)) - result += HornerScheme(quotient, divider, factor) * factor + remainder; + if (!(quotient == 0 && remaind == 0)) + result += HornerScheme(quotient, divider, factor) * factor + remaind; return result; }