diff options
author | mydesktop <dev.mc2@gmail.com> | 2014-04-30 13:52:21 -0400 |
---|---|---|
committer | mydesktop <dev.mc2@gmail.com> | 2014-04-30 13:52:21 -0400 |
commit | 67df296650a72b8769fac58787148080ec771805 (patch) | |
tree | 121b2de24f67b7591b9e8ebda3bc9aa0c84ffbff /src/rpc/core_rpc_server.cpp | |
parent | prompt to delete build directory on 'make clean' (diff) | |
download | monero-67df296650a72b8769fac58787148080ec771805.tar.xz |
various fixes to allow mac osx compilation
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
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); |