[libcxx-commits] [libcxx] r369364 - [libcxx] Fix build breakage on mips

Mikhail Maltsev via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 20 03:19:55 PDT 2019


Author: miyuki
Date: Tue Aug 20 03:19:55 2019
New Revision: 369364

URL: http://llvm.org/viewvc/llvm-project?rev=369364&view=rev
Log:
[libcxx] Fix build breakage on mips

Fixes https://bugs.llvm.org/show_bug.cgi?id=43011 caused by
https://reviews.llvm.org/D63284.

Committing as obvious.

Modified:
    libcxx/trunk/include/__locale

Modified: libcxx/trunk/include/__locale
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__locale?rev=369364&r1=369363&r2=369364&view=diff
==============================================================================
--- libcxx/trunk/include/__locale (original)
+++ libcxx/trunk/include/__locale Tue Aug 20 03:19:55 2019
@@ -409,7 +409,7 @@ public:
     static const mask xdigit = _ISxdigit;
     static const mask blank  = _ISblank;
 #if defined(__mips__)
-    static const mask __regex_word = static_cast<char_class_type>(_ISbit(15));
+    static const mask __regex_word = static_cast<mask>(_ISbit(15));
 #else
     static const mask __regex_word = 0x80;
 #endif




More information about the libcxx-commits mailing list