projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc536e
)
[solaris] Fix iswxdigit_l() support function prototype
author
Michal Gorny
<mgorny@gentoo.org>
Tue, 18 Oct 2016 16:54:54 +0000
(16:54 +0000)
committer
Michal Gorny
<mgorny@gentoo.org>
Tue, 18 Oct 2016 16:54:54 +0000
(16:54 +0000)
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
libcxx/src/support/solaris/xlocale.c
patch
|
blob
|
history
diff --git
a/libcxx/src/support/solaris/xlocale.c
b/libcxx/src/support/solaris/xlocale.c
index
9125eea
..
802829c
100644
(file)
--- a/
libcxx/src/support/solaris/xlocale.c
+++ b/
libcxx/src/support/solaris/xlocale.c
@@
-19,7
+19,7
@@
int isxdigit_l(int __c, locale_t __l) {
return isxdigit(__c);
}
-int iswxdigit_l(w
char
_t __c, locale_t __l) {
+int iswxdigit_l(w
int
_t __c, locale_t __l) {
return isxdigit(__c);
}