git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246839
91177308-0d34-0410-b5e6-
96231b3b80d8
// MS LINK expects to be able to use this timestamp to implement their
// /INCREMENTAL feature.
std::time_t Now = time(nullptr);
// MS LINK expects to be able to use this timestamp to implement their
// /INCREMENTAL feature.
std::time_t Now = time(nullptr);
- if (Now < 0 || Now > UINT32_MAX)
+ if (Now < 0 || (unsigned long)Now > UINT32_MAX)
Now = UINT32_MAX;
Header.TimeDateStamp = Now;
Now = UINT32_MAX;
Header.TimeDateStamp = Now;