aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-01-13 04:30:15 +0800
committerGav Wood <i@gavwood.com>2014-01-13 04:30:15 +0800
commit4fb83706c8665377320259490d7c2a42e6329a91 (patch)
tree571a029ca5cf240fc41d4bd6adb910f58c657fb7
parentb883475b6c5188a0de4600a8365055c2a763806e (diff)
downloaddexon-solidity-4fb83706c8665377320259490d7c2a42e6329a91.tar.gz
dexon-solidity-4fb83706c8665377320259490d7c2a42e6329a91.tar.zst
dexon-solidity-4fb83706c8665377320259490d7c2a42e6329a91.zip
Moved to endian-neutral 256/160-bit datatypes.
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index ecf3645c..3587a1ee 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<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
@@ -46,7 +46,7 @@ int main()
cout << " " << dec << duration_cast<milliseconds>(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<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;