[Scummvm-cvs-logs] CVS: scummvm/backends/x11 x11.cpp,1.30,1.31

Jonathan Gray khalek at users.sourceforge.net
Tue Jun 22 03:44:02 CEST 2004


Update of /cvsroot/scummvm/scummvm/backends/x11
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14687

Modified Files:
	x11.cpp 
Log Message:
compilation fix from Nicolas Joly, bug #976657

Index: x11.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/x11/x11.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- x11.cpp	6 May 2004 09:20:21 -0000	1.30
+++ x11.cpp	22 Jun 2004 10:43:00 -0000	1.31
@@ -818,7 +818,7 @@
 
 	if (_ms_buf)
 		free(_ms_buf);
-	_ms_buf = malloc(w * h);
+	_ms_buf = (byte *) malloc(w * h);
 	memcpy(_ms_buf, buf, w * h);
 
 	if (_mouse_state_changed == false) {





More information about the Scummvm-git-logs mailing list