[libcxx-commits] [libcxx] cf6b331 - libcxx: Bring back unsigned return from wcstoull_l

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 8 04:54:39 PDT 2023


Author: Christoph Schlosser
Date: 2023-07-08T13:54:30+02:00
New Revision: cf6b3315f22acaef99dd2b99dc7a47c6231ed294

URL: https://github.com/llvm/llvm-project/commit/cf6b3315f22acaef99dd2b99dc7a47c6231ed294
DIFF: https://github.com/llvm/llvm-project/commit/cf6b3315f22acaef99dd2b99dc7a47c6231ed294.diff

LOG: libcxx: Bring back unsigned return from wcstoull_l

Got removed here:
21d9282ae2b6e1e7dfbabfd87f6208c3bdff8ea4#diff-e41832b8aa26da45585a57c5111531f2e1d07e91a67c4f8bf1cd6d566ae45a2bR40

Reviewed By: #libc, philnik

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

Added: 
    

Modified: 
    libcxx/include/__support/musl/xlocale.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__support/musl/xlocale.h b/libcxx/include/__support/musl/xlocale.h
index fe1dcf61a59d5a..9b0a50b04f82df 100644
--- a/libcxx/include/__support/musl/xlocale.h
+++ b/libcxx/include/__support/musl/xlocale.h
@@ -37,7 +37,8 @@ inline _LIBCPP_HIDE_FROM_ABI_C long long wcstoll_l(const wchar_t* __nptr, wchar_
   return ::wcstoll(__nptr, __endptr, __base);
 }
 
-inline _LIBCPP_HIDE_FROM_ABI_C long long wcstoull_l(const wchar_t* __nptr, wchar_t** __endptr, int __base, locale_t) {
+inline _LIBCPP_HIDE_FROM_ABI_C unsigned long long
+wcstoull_l(const wchar_t* __nptr, wchar_t** __endptr, int __base, locale_t) {
   return ::wcstoull(__nptr, __endptr, __base);
 }
 


        


More information about the libcxx-commits mailing list