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

Christoph Schlosser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 11 14:44:57 PDT 2023


cschlosser created this revision.
Herald added a project: All.
cschlosser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Got removed here:
21d9282ae2b6e1e7dfbabfd87f6208c3bdff8ea4#diff-e41832b8aa26da45585a57c5111531f2e1d07e91a67c4f8bf1cd6d566ae45a2bR40 <https://reviews.llvm.org/rG21d9282ae2b6e1e7dfbabfd87f6208c3bdff8ea4#diff-e41832b8aa26da45585a57c5111531f2e1d07e91a67c4f8bf1cd6d566ae45a2bR40>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148056

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


Index: libcxx/include/__support/musl/xlocale.h
===================================================================
--- libcxx/include/__support/musl/xlocale.h
+++ libcxx/include/__support/musl/xlocale.h
@@ -37,7 +37,8 @@
   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);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148056.512590.patch
Type: text/x-patch
Size: 576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230411/8ae9729f/attachment-0001.bin>


More information about the libcxx-commits mailing list