[libcxx-commits] [PATCH] D141208: libc++: bring back the unsigned in the return type in wcstoull_l

Sylvestre Ledru via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 7 15:39:05 PST 2023


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

got remove here:
https://github.com/llvm/llvm-project/commit/67b0b02ec9f2bbc57bf8f0550828d97f460ac11f#diff-e41832b8aa26da45585a57c5111531f2e1d07e91a67c4f8bf1cd6d566ae45a2bR42


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141208

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
@@ -39,7 +39,7 @@
   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);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141208.487127.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230107/486248fd/attachment.bin>


More information about the libcxx-commits mailing list