From d7de8cfbe3973dd6ed630c48d563a23ab589bfd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 24 Oct 2007 22:01:26 +0200
Subject: [PATCH] Bug fixes.

Rev: nettle/examples/eratosthenes.c:1.7
---
 examples/eratosthenes.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/eratosthenes.c b/examples/eratosthenes.c
index d8e414dd..fd38ca7d 100644
--- a/examples/eratosthenes.c
+++ b/examples/eratosthenes.c
@@ -141,7 +141,7 @@ find_first_one (unsigned long x)
   if (x >= 0x10000)
     {
       x >>= 16;
-      i =+ 16;
+      i += 16;
     }
   if (x >= 0x100)
     {
@@ -272,7 +272,7 @@ main (int argc, char **argv)
 
   /* No more marking, just output the remaining primes. */
   for (; bit < block_size ;
-       bit = vector_find_next (vector, bit + 1, size))
+       bit = vector_find_next (vector, bit + 1, block_size))
 
     OUTPUT(3 + 2 * bit);
 
-- 
GitLab