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:
parent
e67e0155d9
commit
f90acf522b
|
@ -3475,7 +3475,7 @@ bool cmVisualStudio10TargetGenerator::ForceOld(const std::string& source) const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
FILETIME const ftime_20010101 = { 3365781504, 29389701 };
|
FILETIME const ftime_20010101 = { 3365781504u, 29389701u };
|
||||||
if (!SetFileTime(h, &ftime_20010101, &ftime_20010101, &ftime_20010101))
|
if (!SetFileTime(h, &ftime_20010101, &ftime_20010101, &ftime_20010101))
|
||||||
{
|
{
|
||||||
CloseHandle(h);
|
CloseHandle(h);
|
||||||
|
|
Loading…
Reference in New Issue