mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-03 16:21:41 +00:00
Fix a -Wparentheses warning in the mingw build
llvm-svn: 164587
This commit is contained in:
parent
29ff8b1c49
commit
492e8ff20f
@ -794,7 +794,7 @@ mapped_file_region::mapped_file_region(const Twine &path,
|
|||||||
SmallVector<wchar_t, 128> path_utf16;
|
SmallVector<wchar_t, 128> path_utf16;
|
||||||
|
|
||||||
// Convert path to UTF-16.
|
// Convert path to UTF-16.
|
||||||
if (ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16))
|
if ((ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Get file handle for creating a file mapping.
|
// Get file handle for creating a file mapping.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user