From e2a7c9358f24ac98ae7279491f010bd8f82a8692 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 29 Nov 2006 17:25:46 -0500 Subject: ENH: fix warning --- Source/CursesDialog/cmCursesLongMessageForm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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