From 0a7e36380717fe926d43ab30ef6162db9bd71723 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 4 Mar 2016 09:28:01 +0100 Subject: Add makefile and fix errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zpow.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/zpow.c') diff --git a/src/zpow.c b/src/zpow.c index c359ac3..16988f7 100644 --- a/src/zpow.c +++ b/src/zpow.c @@ -1,7 +1,5 @@ /* See LICENSE file for copyright and license details. */ -#include "internals" - -#include +#include "internals.h" #define tb libzahl_tmp_pow_b #define tc libzahl_tmp_pow_c @@ -41,7 +39,7 @@ zpow(z_t a, z_t b, z_t c) for (i = 0; i < n; i++) { x = tc->chars[i]; - for (j = BITS_PER_CHAR; j--; x >>= 1, j) { + for (j = BITS_PER_CHAR; j--; x >>= 1) { if (x & 1) zmul(a, a, tb); zsqr(tb, tb); -- cgit v1.2.3-70-g09d2