[libcxx] r284493 - [solaris] Fix iswxdigit_l() support function prototype
Michal Gorny via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 18 09:54:54 PDT 2016
Author: mgorny
Date: Tue Oct 18 11:54:54 2016
New Revision: 284493
URL: http://llvm.org/viewvc/llvm-project?rev=284493&view=rev
Log:
[solaris] Fix iswxdigit_l() support function prototype
Fix the iswxdigit_l() function prototype to take wint_t parameter
instead of incorrect wchar_t.
Differential Revision: https://reviews.llvm.org/D25431
Modified:
libcxx/trunk/src/support/solaris/xlocale.c
Modified: libcxx/trunk/src/support/solaris/xlocale.c
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/support/solaris/xlocale.c?rev=284493&r1=284492&r2=284493&view=diff
==============================================================================
--- libcxx/trunk/src/support/solaris/xlocale.c (original)
+++ libcxx/trunk/src/support/solaris/xlocale.c Tue Oct 18 11:54:54 2016
@@ -19,7 +19,7 @@ int isxdigit_l(int __c, locale_t __l) {
return isxdigit(__c);
}
-int iswxdigit_l(wchar_t __c, locale_t __l) {
+int iswxdigit_l(wint_t __c, locale_t __l) {
return isxdigit(__c);
}
More information about the cfe-commits
mailing list