mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-15 22:35:33 -05:00
cmVisualStudio10TargetGenerator: Fix unsigned integer constant type
Add a 'u' suffix to FILETIME component integer constant initializers. This avoids warnings about the range of the signed constant value.
This commit is contained in:
@@ -3475,7 +3475,7 @@ bool cmVisualStudio10TargetGenerator::ForceOld(const std::string& source) const
|
||||
return false;
|
||||
}
|
||||
|
||||
FILETIME const ftime_20010101 = { 3365781504, 29389701 };
|
||||
FILETIME const ftime_20010101 = { 3365781504u, 29389701u };
|
||||
if (!SetFileTime(h, &ftime_20010101, &ftime_20010101, &ftime_20010101))
|
||||
{
|
||||
CloseHandle(h);
|
||||
|
||||
Reference in New Issue
Block a user