Skip to content

Commit 88fcb47

Browse files
committed
fix Windows build on MSVC
1 parent 89ab61f commit 88fcb47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/autotester/autotester.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static bool parseMilliseconds(const std::string& str, bool allowZero, unsigned i
121121
return false;
122122
}
123123
value = value * 10 + static_cast<unsigned long>(c - '0');
124-
if (value > std::numeric_limits<unsigned int>::max()) {
124+
if (value > (std::numeric_limits<unsigned int>::max)()) {
125125
return false;
126126
}
127127
}

0 commit comments

Comments
 (0)