summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2023-01-08 00:32:42 +0100
committerTom Stellard <tstellar@redhat.com>2023-01-11 23:12:22 -0800
commit939f5a33711370697f9ad1de4267cfc7399dfe86 (patch)
tree5e86e9aab19499d3eed56bbd3713ce86ddfdf4f8
parent948cadd6d4247f7a5bd8fd6b1386062653d54c84 (diff)
downloadllvm-939f5a33711370697f9ad1de4267cfc7399dfe86.tar.gz
libc++: bring back the unsigned in the return type in wcstoull_l
got remove here: https://github.com/llvm/llvm-project/commit/67b0b02ec9f2bbc57bf8f0550828d97f460ac11f#diff-e41832b8aa26da45585a57c5111531f2e1d07e91a67c4f8bf1cd6d566ae45a2bR42 Differential Revision: https://reviews.llvm.org/D141208 (cherry picked from commit fc87452916c0d8759625aad65e9335778ce9cc68)
-rw-r--r--libcxx/include/__support/musl/xlocale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__support/musl/xlocale.h b/libcxx/include/__support/musl/xlocale.h
index f564c87885ac..e674a41fa622 100644
--- a/libcxx/include/__support/musl/xlocale.h
+++ b/libcxx/include/__support/musl/xlocale.h
@@ -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);
}