aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authormydesktop <dev.mc2@gmail.com>2014-04-30 13:52:21 -0400
committermydesktop <dev.mc2@gmail.com>2014-04-30 13:52:21 -0400
commit67df296650a72b8769fac58787148080ec771805 (patch)
tree121b2de24f67b7591b9e8ebda3bc9aa0c84ffbff /src/rpc
parentprompt to delete build directory on 'make clean' (diff)
downloadmonero-67df296650a72b8769fac58787148080ec771805.tar.xz
various fixes to allow mac osx compilation
Diffstat (limited to 'src/rpc')
-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 bab373c86..311d2a145 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -536,7 +536,7 @@ namespace cryptonote
if (!have_block)
{
error_resp.code = CORE_RPC_ERROR_CODE_INTERNAL_ERROR;
- error_resp.message = "Internal error: can't get block by height. Height = " + req.height + '.';
+ error_resp.message = "Internal error: can't get block by height. Height = " + std::to_string(req.height) + '.';
return false;
}
bool responce_filled = fill_block_header_responce(blk, false, req.height, block_hash, res.block_header);