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

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcf6b3315f22a: libcxx: Bring back unsigned return from wcstoull_l (authored by cschlosser, committed by Mordante).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148056/new/

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.538357.patch
Type: text/x-patch
Size: 576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230708/a33310f9/attachment.bin>


More information about the libcxx-commits mailing list