forked from boostorg/regex
Tentative fix for msvc warnings.
See https://github.com/boostorg/regex/issues/61. Adds warning test case.
This commit is contained in:
@ -241,7 +241,7 @@ inline std::ptrdiff_t global_length<char>(const char* p)
|
||||
template<>
|
||||
inline std::ptrdiff_t global_length<wchar_t>(const wchar_t* p)
|
||||
{
|
||||
return (std::wcslen)(p);
|
||||
return (std::ptrdiff_t)(std::wcslen)(p);
|
||||
}
|
||||
#endif
|
||||
template <class charT>
|
||||
|
Reference in New Issue
Block a user