From b11a5bc4608e5b3734377cbab3aabca950072504 Mon Sep 17 00:00:00 2001 From: Gabriel Jensen Date: Thu, 11 Feb 2021 10:28:11 +0100 Subject: Fix starting number during listing being 0 instead of 1. --- src/prime/prime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prime/prime.cc b/src/prime/prime.cc index 905f745..604b6ed 100644 --- a/src/prime/prime.cc +++ b/src/prime/prime.cc @@ -17,7 +17,7 @@ std::exit(EXIT_SUCCESS); } else if(std::strcmp(argv[0x1],"--list") == 0x0) { - for(unsigned long long num = 0x0;;++num) { + for(unsigned long long num = 0x1;;++num) { this->printresult(num); std::this_thread::sleep_for(std::chrono::seconds(0x1)); } -- cgit v1.2.3