diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-29 22:25:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-29 22:25:46 (GMT) |
commit | e2a7c9358f24ac98ae7279491f010bd8f82a8692 (patch) | |
tree | 977f01e114fd27decca6a74ecca77c9cc8c6a6e7 /Source/CursesDialog | |
parent | 33170bc3716cc0432491c43b2652219f86c22f36 (diff) | |
download | CMake-e2a7c9358f24ac98ae7279491f010bd8f82a8692.zip CMake-e2a7c9358f24ac98ae7279491f010bd8f82a8692.tar.gz CMake-e2a7c9358f24ac98ae7279491f010bd8f82a8692.tar.bz2 |
ENH: fix warning
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/cmCursesLongMessageForm.cxx | 2 |
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); |