Skip to content

Commit 939f5a3

Browse files
sylvestretstellar
authored andcommitted
libc++: bring back the unsigned in the return type in wcstoull_l
got remove here: llvm@67b0b02#diff-e41832b8aa26da45585a57c5111531f2e1d07e91a67c4f8bf1cd6d566ae45a2bR42 Differential Revision: https://reviews.llvm.org/D141208 (cherry picked from commit fc87452)
1 parent 948cadd commit 939f5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__support/musl/xlocale.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ wcstoll_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) {
3939
return ::wcstoll(__nptr, __endptr, __base);
4040
}
4141

42-
inline _LIBCPP_HIDE_FROM_ABI long long
42+
inline _LIBCPP_HIDE_FROM_ABI unsigned long long
4343
wcstoull_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) {
4444
return ::wcstoull(__nptr, __endptr, __base);
4545
}

0 commit comments

Comments
 (0)