From e80ae84b78da0e53c79529a5e2faa2036b6f739c Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 19 Jan 2006 05:18:24 +0000 Subject: Fixed compiler warnings and errors on VC++ 7.1 git-svn-id: http://svn.leocad.org/trunk@455 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/aboutdlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win/aboutdlg.cpp') diff --git a/win/aboutdlg.cpp b/win/aboutdlg.cpp index 0d64b90..1c261ea 100644 --- a/win/aboutdlg.cpp +++ b/win/aboutdlg.cpp @@ -75,11 +75,11 @@ BOOL CAboutDlg::OnInitDialog() tmp.Format("Color bits: %d, Depth Buffer: %d bits\r\nOpenGL Version ", pfd.cColorBits, pfd.cDepthBits); info += tmp; - info += glGetString(GL_VERSION); + info += (const char*)glGetString(GL_VERSION); info += " ("; - info += glGetString(GL_RENDERER); + info += (const char*)glGetString(GL_RENDERER); info += " - "; - info += glGetString(GL_VENDOR); + info += (const char*)glGetString(GL_VENDOR); info += ")"; SetDlgItemText(IDC_ABTDLG_INFO, info); -- cgit v1.2.3