libc++: bring back the unsigned in the return type in wcstoull_l
authorSylvestre Ledru <sylvestre@debian.org>
Sat, 7 Jan 2023 23:32:42 +0000 (00:32 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 8 Jan 2023 11:28:14 +0000 (12:28 +0100)
got remove here:
https://github.com/llvm/llvm-project/commit/67b0b02ec9f2bbc57bf8f0550828d97f460ac11f#diff-e41832b8aa26da45585a57c5111531f2e1d07e91a67c4f8bf1cd6d566ae45a2bR42

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

libcxx/include/__support/musl/xlocale.h

index 675ba93..4ff07ba 100644 (file)
@@ -39,7 +39,7 @@ wcstoll_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) {
   return ::wcstoll(__nptr, __endptr, __base);
 }
 
-inline _LIBCPP_HIDE_FROM_ABI long long
+inline _LIBCPP_HIDE_FROM_ABI unsigned long long
 wcstoull_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) {
   return ::wcstoull(__nptr, __endptr, __base);
 }