[PATCH] D24743: Fix signatures of fallback tow(upper|lower)_l.

Dan Albert via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 19 13:51:38 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281936: Fix signatures of fallback tow(upper|lower)_l. (authored by danalbert).

Changed prior to commit:
  https://reviews.llvm.org/D24743?vs=71871&id=71876#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24743

Files:
  libcxx/trunk/include/support/xlocale/__posix_l_fallback.h

Index: libcxx/trunk/include/support/xlocale/__posix_l_fallback.h
===================================================================
--- libcxx/trunk/include/support/xlocale/__posix_l_fallback.h
+++ libcxx/trunk/include/support/xlocale/__posix_l_fallback.h
@@ -124,11 +124,11 @@
   return ::tolower(c);
 }
 
-inline _LIBCPP_ALWAYS_INLINE int towupper_l(int c, locale_t) {
+inline _LIBCPP_ALWAYS_INLINE wint_t towupper_l(wint_t c, locale_t) {
   return ::towupper(c);
 }
 
-inline _LIBCPP_ALWAYS_INLINE int towlower_l(int c, locale_t) {
+inline _LIBCPP_ALWAYS_INLINE wint_t towlower_l(wint_t c, locale_t) {
   return ::towlower(c);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24743.71876.patch
Type: text/x-patch
Size: 636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160919/1f32ef1d/attachment.bin>


More information about the cfe-commits mailing list