Kaydet (Commit) 065a1244 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use rtl::isAscii* instead of ctype.h is* with wchar_t arg

Change-Id: I48bee0474fc4fe8be454c1e8819d8f192c9f9216
üst 26dea94b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment