summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Support/Windows/TimeValue.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/TimeValue.inc b/lib/Support/Windows/TimeValue.inc
index 32983be883..f52af98d29 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(&LT, &OurTime);
+ int Error = ::_localtime64_s(&LT, &OurTime);
assert(!Error);
char Buffer[25];