From 065a124407ff4262d183e5c8eda98e10df832fbc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 22 Mar 2017 21:35:59 +0100 Subject: Use rtl::isAscii* instead of ctype.h is* with wchar_t arg Change-Id: I48bee0474fc4fe8be454c1e8819d8f192c9f9216 --- shell/source/win32/shlxthandler/util/iso8601_converter.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/source/win32/shlxthandler/util/iso8601_converter.cxx b/shell/source/win32/shlxthandler/util/iso8601_converter.cxx index d8c6ddcf6bad..495ab470b358 100644 --- a/shell/source/win32/shlxthandler/util/iso8601_converter.cxx +++ b/shell/source/win32/shlxthandler/util/iso8601_converter.cxx @@ -27,6 +27,7 @@ #include #include +#include /* Converts ISO 8601 conform date/time represenation to the representation @@ -120,7 +121,7 @@ std::wstring iso8601_duration_to_local_duration(const std::wstring& iso8601durat for (/**/; iter != iter_end; ++iter) { - if (isdigit(*iter)) + if (rtl::isAsciiDigit(*iter)) // wchar_t is unsigned under MSVC { num += *iter; } -- cgit v1.2.3