summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-29 22:25:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-29 22:25:46 (GMT)
commite2a7c9358f24ac98ae7279491f010bd8f82a8692 (patch)
tree977f01e114fd27decca6a74ecca77c9cc8c6a6e7 /Source/CursesDialog
parent33170bc3716cc0432491c43b2652219f86c22f36 (diff)
downloadCMake-e2a7c9358f24ac98ae7279491f010bd8f82a8692.zip
CMake-e2a7c9358f24ac98ae7279491f010bd8f82a8692.tar.gz
CMake-e2a7c9358f24ac98ae7279491f010bd8f82a8692.tar.bz2
ENH: fix warning
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesLongMessageForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx
index 04a5d09..ed603e8 100644
--- a/Source/CursesDialog/cmCursesLongMessageForm.cxx
+++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx
@@ -81,7 +81,7 @@ void cmCursesLongMessageForm::UpdateStatusBar()
char version[cmCursesMainForm::MAX_WIDTH];
char vertmp[128];
sprintf(vertmp,"CMake Version %d.%d - %s", cmVersion::GetMajorVersion(),
- cmVersion::GetMinorVersion(),cmVersion::GetReleaseVersion());
+ cmVersion::GetMinorVersion(),cmVersion::GetReleaseVersion().c_str());
int sideSpace = (width-strlen(vertmp));
for(int i=0; i<sideSpace; i++) { version[i] = ' '; }
sprintf(version+sideSpace, "%s", vertmp);