From: CryptoManiac Date: Sat, 5 Sep 2015 10:23:56 +0000 (-0700) Subject: Fix compilation error on Win32 platforms. X-Git-Tag: nvc-v0.5.3^0 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=6eab85b15e37e16578e02432e331df8424c45d92;hp=549d95ad6489df40b2acc8bf65f9b016b6780f08;p=novacoin.git Fix compilation error on Win32 platforms. --- diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 83ca8fd..05bcbff 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -282,7 +282,7 @@ bool ExportBlock(const string& strBlockHash, const CDataStream& ssBlock) pathDest /= strBlockHash; try { - boost::iostreams::stream_buffer buf(pathDest.c_str()); + boost::iostreams::stream_buffer buf(pathDest.string()); ostream exportStream(&buf); exportStream << HexStr(ssBlock.begin(), ssBlock.end()); exportStream.flush();