summaryrefslogtreecommitdiffstats
path: root/games/xlogical/files/patch-menuentry.cpp
blob: 0f80dfcee8569f93d1653e2d1885964bcb230a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- menuentry.cpp.orig	2007-11-06 00:04:44.000000000 +0100
+++ menuentry.cpp	2007-11-06 00:06:49.000000000 +0100
@@ -104,14 +104,14 @@
 	if (fOnOff)
 	{
 		font->render_string(
-			"*",
+			(char *)"*",
 			fX + graphDriver->graph_hi_font( )->stringLen( const_cast<char *>(fText.c_str() ) ),
 			fY );
 	} else {
 		graphDriver->graph_clear_rect(
 			fX + graphDriver->graph_hi_font()->stringLen( const_cast<char *>(fText.c_str() ) ),
 			fY,
-			graphDriver->graph_hi_font()->stringLen( "*" ),
+			graphDriver->graph_hi_font()->stringLen((char *) "*" ),
 			graphDriver->graph_hi_font()->get_height() );
 	}
 
@@ -131,7 +131,7 @@
 	graphDriver->graph_clear_rect(
 		fX + graphDriver->graph_hi_font()->stringLen( const_cast<char *>(fText.c_str() ) ),
 		fY,
-		graphDriver->graph_hi_font()->stringLen( "*" ),
+		graphDriver->graph_hi_font()->stringLen((char *) "*" ),
 		graphDriver->graph_hi_font()->get_height() );
 
 	switch( aKeyval )
OpenPOWER on IntegriCloud