diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-20 10:37:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-26 14:33:26 (GMT) |
commit | 102521b6b3172e32b2985c53eadc6eaebe90245d (patch) | |
tree | ff795cc3bc68f96107dfd4a9f073edc77567ff5c /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 332dc09d0de3b427eac8a36c3b0c1339daf7179c (diff) | |
download | CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.zip CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.tar.gz CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.tar.bz2 |
VS: Change variable type of ArchitectureId from const char* to string
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 8ab97b5..be1bedc 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -79,11 +79,11 @@ cmGlobalVisualStudio8Generator::cmGlobalVisualStudio8Generator( //---------------------------------------------------------------------------- const char* cmGlobalVisualStudio8Generator::GetPlatformName() const { - if (!strcmp(this->ArchitectureId, "X86")) + if (this->ArchitectureId == "X86") { return "Win32"; } - return this->ArchitectureId; + return this->ArchitectureId.c_str(); } //---------------------------------------------------------------------------- |