Skip to content

Commit e4277c8

Browse files
committed
std::isdigit needs unsigned char instead of char
1 parent c56cac2 commit e4277c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/time/asx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace QuantLib {
6161
return false;
6262

6363
// 2nd character of code needs to be digit
64-
if (!std::isdigit(in[1]))
64+
if (!std::isdigit(static_cast<unsigned char>(in[1])))
6565
return false;
6666

6767
// 1st character needs to represent the correct month

0 commit comments

Comments
 (0)