aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-02 19:43:05 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-02 19:43:05 +0200
commit5bb95fc6134a35b35031b67e7d02ed5ca5da6a55 (patch)
treef6d43070b56524c4adacf31f66bf6285c89edde2 /src/rpc/core_rpc_server.cpp
parentMerge pull request #1631 (diff)
parentFix invalid + of std::string and int (diff)
downloadmonero-5bb95fc6134a35b35031b67e7d02ed5ca5da6a55.tar.xz
Merge pull request #1634
99f58437 Fix invalid + of std::string and int (Timothy D. Prime)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 1ce7c2b89..63f2b7e53 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -204,7 +204,7 @@ namespace cryptonote
}
catch (...)
{
- res.status = "Error retrieving block at height " + height;
+ res.status = "Error retrieving block at height " + std::to_string(height);
return true;
}
std::list<transaction> txs;