[arch-commits] Commit in scummvm/trunk (scummvm-0.13.1-gcc4-fix.patch)

Juergen Hoetzel juergen at archlinux.org
Thu Jun 11 03:24:37 EDT 2009


    Date: Thursday, June 11, 2009 @ 03:24:37
  Author: juergen
Revision: 42100

fix gcc4 cast error

Added:
  scummvm/trunk/scummvm-0.13.1-gcc4-fix.patch

-------------------------------+
 scummvm-0.13.1-gcc4-fix.patch |   12 ++++++++++++
 1 file changed, 12 insertions(+)

Added: scummvm-0.13.1-gcc4-fix.patch
===================================================================
--- scummvm-0.13.1-gcc4-fix.patch	                        (rev 0)
+++ scummvm-0.13.1-gcc4-fix.patch	2009-06-11 07:24:37 UTC (rev 42100)
@@ -0,0 +1,12 @@
+diff -ubr scummvm-0.13.1.orig/backends/midi/alsa.cpp scummvm-0.13.1/backends/midi/alsa.cpp
+--- scummvm-0.13.1.orig/backends/midi/alsa.cpp	2009-04-18 23:32:38.000000000 +0200
++++ scummvm-0.13.1/backends/midi/alsa.cpp	2009-06-11 09:23:01.000000000 +0200
+@@ -228,7 +228,7 @@
+ }
+ 
+ int MidiDriver_ALSA::parse_addr(const char *arg, int *client, int *port) {
+-	char *p;
++	const char *p;
+ 
+ 	if (isdigit(*arg)) {
+ 		if ((p = strpbrk(arg, ADDR_DELIM)) == NULL)



More information about the arch-commits mailing list