From 9b7ffd101010c7020637bfc64003ef1ff45e78c7 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 21 Apr 2005 18:51:54 +0000 Subject: [PATCH] vs.net2005 beta2 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2184 --- src/gui/sdlmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index cc63d47d..29268e91 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: sdlmain.cpp,v 1.83 2005-03-08 09:34:27 qbix79 Exp $ */ +/* $Id: sdlmain.cpp,v 1.84 2005-04-21 18:51:54 qbix79 Exp $ */ #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -795,7 +795,7 @@ static void GUI_StartUp(Section * sec) { strcpy(res,fullresolution); fullresolution = lowcase (res);//so x and X are allowed - char* height = strchr(fullresolution,'x'); + char* height = const_cast(strchr(fullresolution,'x')); if(height && * height) { *height = 0; sdl.desktop.height = atoi(height+1);