summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Jensen2021-02-11 10:28:11 +0100
committerGabriel Jensen2021-02-11 10:28:11 +0100
commitb11a5bc4608e5b3734377cbab3aabca950072504 (patch)
tree54f2353d4b282317a5410e5015dbad6048117385
parentda27d48ef055821bcf942ab892def982463619ac (diff)
Fix starting number during listing being 0 instead of 1.HEADmaster
-rw-r--r--src/prime/prime.cc2
1 files changed, 1 insertions, 1 deletions
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));
}