aboutsummaryrefslogtreecommitdiffstats
path: root/solc/CommandLineInterface.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-06 17:57:21 +0800
committerchriseth <c@ethdev.com>2016-09-06 17:57:21 +0800
commit8c315a18c9ed7ad8b1fdec53d21e425137e89079 (patch)
treef71c086ce43b010d4d8a2fe0c9e1dae1e78a4f39 /solc/CommandLineInterface.cpp
parentf869f25b842f4c800621197f5c1c3521732da5c6 (diff)
downloaddexon-solidity-8c315a18c9ed7ad8b1fdec53d21e425137e89079.tar.gz
dexon-solidity-8c315a18c9ed7ad8b1fdec53d21e425137e89079.tar.zst
dexon-solidity-8c315a18c9ed7ad8b1fdec53d21e425137e89079.zip
Fix compiler error.
Diffstat (limited to 'solc/CommandLineInterface.cpp')
-rw-r--r--solc/CommandLineInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp
index d87429b5..f0a34632 100644
--- a/solc/CommandLineInterface.cpp
+++ b/solc/CommandLineInterface.cpp
@@ -780,7 +780,7 @@ bool CommandLineInterface::link()
{
// Map from how the libraries will be named inside the bytecode to their addresses.
map<string, h160> librariesReplacements;
- size_t const placeholderSize = 40; // 20 bytes or 40 hex characters
+ int const placeholderSize = 40; // 20 bytes or 40 hex characters
for (auto const& library: m_libraries)
{
string const& name = library.first;