Skip to content

Commit

Permalink
[solaris] Fix iswxdigit_l() support function prototype
Browse files Browse the repository at this point in the history
Fix the iswxdigit_l() function prototype to take wint_t parameter
instead of incorrect wchar_t.

Differential Revision: https://reviews.llvm.org/D25431

llvm-svn: 284493
mgorny committed Oct 18, 2016
1 parent efc536e commit 376548c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/src/support/solaris/xlocale.c
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 376548c

Please sign in to comment.