forked from OSchip/llvm-project
Fix a -Wparentheses warning in the mingw build
llvm-svn: 164587
This commit is contained in:
parent
88d67f3412
commit
eada11bb13
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue