summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-22 21:35:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-22 21:35:59 +0100
commit065a124407ff4262d183e5c8eda98e10df832fbc (patch)
tree618a48ff94546e8bbf5b238b62da61dcffe54d0e /shell
parent26dea94b01d196a146767af8b76fba41697e8150 (diff)
Use rtl::isAscii* instead of ctype.h is* with wchar_t arg
Change-Id: I48bee0474fc4fe8be454c1e8819d8f192c9f9216
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/util/iso8601_converter.cxx3
1 files changed, 2 insertions, 1 deletions
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 <sstream>
#include <iomanip>
+#include <rtl/character.hxx>
/* 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;
}