diff options
author | ENikS <evgeni@eniks.com> | 2014-09-06 15:59:59 -0400 |
---|---|---|
committer | ENikS <evgeni@eniks.com> | 2014-09-06 15:59:59 -0400 |
commit | 8d657a651735426388c5f7462e2dbf24225a26cb (patch) | |
tree | 125b0e5b08f351d9d53eb11aee85673f779ce99f /src/util.cpp | |
parent | b8d92236f61699846f67d8ce6cb55458a46f9de1 (diff) |
Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false'
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 5a4e187f9e..1a11d038ca 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -494,7 +494,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); |