diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-11-30 21:00:51 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-12-01 23:03:59 +0800 |
commit | f869792eec99a38ff5c29b36622e2795fd3c52aa (patch) | |
tree | 84e90cab374f37f868943344d393c219e1bb26b9 | |
parent | ea7a6520b283f5dfc47c05d8b8088608d2b5f4f9 (diff) | |
download | dexon-solidity-f869792eec99a38ff5c29b36622e2795fd3c52aa.tar.gz dexon-solidity-f869792eec99a38ff5c29b36622e2795fd3c52aa.tar.zst dexon-solidity-f869792eec99a38ff5c29b36622e2795fd3c52aa.zip |
Fix type of optimizeRuns
-rw-r--r-- | libsolidity/interface/CompilerStack.h | 2 | ||||
-rw-r--r-- | test/ExecutionFramework.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h index 74a7dfc5..57c76133 100644 --- a/libsolidity/interface/CompilerStack.h +++ b/libsolidity/interface/CompilerStack.h @@ -258,7 +258,7 @@ private: ReadFileCallback m_readFile; bool m_optimize = false; - size_t m_optimizeRuns = 200; + unsigned m_optimizeRuns = 200; std::map<std::string, h160> m_libraries; /// list of path prefix remappings, e.g. mylibrary: github.com/ethereum = /usr/local/ethereum /// "context:prefix=target" diff --git a/test/ExecutionFramework.h b/test/ExecutionFramework.h index 1274d400..f47f2743 100644 --- a/test/ExecutionFramework.h +++ b/test/ExecutionFramework.h @@ -279,7 +279,7 @@ protected: bytes data; }; - size_t m_optimizeRuns = 200; + unsigned m_optimizeRuns = 200; bool m_optimize = false; Address m_sender; Address m_contractAddress; |