diff --git a/lib/Support/Windows/TimeValue.inc b/lib/Support/Windows/TimeValue.inc index 32983be883f..f52af98d29f 100644 --- a/lib/Support/Windows/TimeValue.inc +++ b/lib/Support/Windows/TimeValue.inc @@ -33,7 +33,7 @@ TimeValue TimeValue::now() { std::string TimeValue::str() const { struct tm LT; __time64_t OurTime = this->toEpochTime(); - errno_t Error = ::_localtime64_s(<, &OurTime); + int Error = ::_localtime64_s(<, &OurTime); assert(!Error); char Buffer[25];