From 4fb83706c8665377320259490d7c2a42e6329a91 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 12 Jan 2014 20:30:15 +0000 Subject: [PATCH] Moved to endian-neutral 256/160-bit datatypes. --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index ecf3645ce..3587a1ee6 100644 --- a/main.cpp +++ b/main.cpp @@ -38,7 +38,7 @@ int main() { // Test dagger { - Dagger d(0); + Dagger d((h256)0); auto s = steady_clock::now(); cout << hex << d.eval(0); cout << " " << dec << duration_cast(steady_clock::now() - s).count() << " ms" << endl; @@ -46,7 +46,7 @@ int main() cout << " " << dec << duration_cast(steady_clock::now() - s).count() << " ms" << endl; } { - Dagger d(1); + Dagger d((h256)1); auto s = steady_clock::now(); cout << hex << d.eval(0); cout << " " << dec << duration_cast(steady_clock::now() - s).count() << " ms" << endl;