summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-30 12:53:09 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-30 12:53:09 (GMT)
commitf90acf522b1a03af9b5a7bea1d3f50285504fce8 (patch)
treeb9a390c9c7afe854b5fd4fd046df607f8e7c34d7 /Source/cmVisualStudio10TargetGenerator.cxx
parente67e0155d9dfbcf9691b0863978b441545a89565 (diff)
downloadCMake-f90acf522b1a03af9b5a7bea1d3f50285504fce8.zip
CMake-f90acf522b1a03af9b5a7bea1d3f50285504fce8.tar.gz
CMake-f90acf522b1a03af9b5a7bea1d3f50285504fce8.tar.bz2
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.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 6c71313..fcd8f2a 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -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);