summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-04-06 14:29:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-04-06 14:29:38 (GMT)
commit607b0ac2f3be1cbe7a0d8acbc711836935d5e3d6 (patch)
tree4a80d4330d28dc8d42aa3e44a936c13799bc1e0e /Source/cmVisualStudio10TargetGenerator.cxx
parent5454b41e1b95d154c4f6a0c1f191a4e794765d95 (diff)
parentacda926a047c5958af32fd6f88dd184f5d769319 (diff)
downloadCMake-607b0ac2f3be1cbe7a0d8acbc711836935d5e3d6.zip
CMake-607b0ac2f3be1cbe7a0d8acbc711836935d5e3d6.tar.gz
CMake-607b0ac2f3be1cbe7a0d8acbc711836935d5e3d6.tar.bz2
Merge topic 'minor-cleanups'
acda926a04 Replace some uses of sprintf with std::to_string 418541035f cmCTestCurl: Fix UploadFile declared parameter names 1519628e60 cmVisualStudio10TargetGenerator: Make NsightTegraVersion unsigned 2f87d00803 cmMacroCommand: Fix format string to match type of argument b0676cc5d4 Add in-class initialization of some members 966dba5b68 cmAlgorithms: Remove unnecessary typename keyword 12a145534a gitignore: Ignore a .vs directory in the source tree Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1932
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 1817153..7c1d948 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -368,8 +368,8 @@ void cmVisualStudio10TargetGenerator::Generate()
if (this->NsightTegra) {
this->WriteString("<PropertyGroup Label=\"NsightTegraProject\">\n", 1);
- const int nsightTegraMajorVersion = this->NsightTegraVersion[0];
- const int nsightTegraMinorVersion = this->NsightTegraVersion[1];
+ const unsigned int nsightTegraMajorVersion = this->NsightTegraVersion[0];
+ const unsigned int nsightTegraMinorVersion = this->NsightTegraVersion[1];
if (nsightTegraMajorVersion >= 2) {
this->WriteString("<NsightTegraProjectRevisionNumber>", 2);
if (nsightTegraMajorVersion > 3 ||