diff options
| author | Pieter Wuille <[email protected]> | 2014-09-16 04:43:49 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-16 04:47:55 +0200 |
| commit | dc54e9db982118ec71cc11b8d027e5a569810cba (patch) | |
| tree | 34b0ca1ab9f4c153a551750dae6fea3b2dbf286a /src/util.cpp | |
| parent | Merge pull request #4911 (diff) | |
| parent | Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false' (diff) | |
| download | discoin-dc54e9db982118ec71cc11b8d027e5a569810cba.tar.xz discoin-dc54e9db982118ec71cc11b8d027e5a569810cba.zip | |
Merge pull request #4825
8d657a6 Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false' (ENikS)
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 20aff49c8..0ac0f70a7 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -495,7 +495,7 @@ bool RenameOver(boost::filesystem::path src, boost::filesystem::path dest) { #ifdef WIN32 return MoveFileExA(src.string().c_str(), dest.string().c_str(), - MOVEFILE_REPLACE_EXISTING); + MOVEFILE_REPLACE_EXISTING) != 0; #else int rc = std::rename(src.string().c_str(), dest.string().c_str()); return (rc == 0); |