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:
Brad King 2015-09-30 08:53:09 -04:00
parent e67e0155d9
commit f90acf522b
1 changed files with 1 additions and 1 deletions

View File

@ -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);