various fixes to allow mac osx compilation

This commit is contained in:
mydesktop
2014-04-30 13:52:21 -04:00
parent 9c70be0e77
commit 67df296650
13 changed files with 40 additions and 20 deletions

View File

@@ -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);