summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-09-25 05:24:16 +0000
committerNico Weber <nicolasweber@gmx.de>2012-09-25 05:24:16 +0000
commitd0a553e5ecd8726de88af26da7d258e15f626e37 (patch)
treed66fe6833b49cfd52de7cc68ff7ce25b281e2f8f /lib/Support
parent72bf29f45d9da6a2a6be910f55a4787d30d3d2eb (diff)
downloadllvm-d0a553e5ecd8726de88af26da7d258e15f626e37.tar.gz
llvm-d0a553e5ecd8726de88af26da7d258e15f626e37.tar.bz2
llvm-d0a553e5ecd8726de88af26da7d258e15f626e37.tar.xz
Fix a -Wparentheses warning in the mingw build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Windows/PathV2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc
index 696768ba9d..3dfac66b77 100644
--- a/lib/Support/Windows/PathV2.inc
+++ b/lib/Support/Windows/PathV2.inc
@@ -794,7 +794,7 @@ mapped_file_region::mapped_file_region(const Twine &path,
SmallVector<wchar_t, 128> path_utf16;
// Convert path to UTF-16.
- if (ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16))
+ if ((ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16)))
return;
// Get file handle for creating a file mapping.