summaryrefslogtreecommitdiff
blob: ea6e7b8f56c459a168426d1a06d598ac43cd2ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fix compile warnings on gcc-4.x
Joerg Bornkessel <hd_brummy@gentoo.org> 14 Nov 2007
diff -Naur dvd-cvs-20071113.orig/player-dvd.c dvd-cvs-20071113/player-dvd.c
--- dvd-cvs-20071113.orig/player-dvd.c	2007-11-13 17:57:34.000000000 +0100
+++ dvd-cvs-20071113/player-dvd.c	2007-11-13 17:57:58.000000000 +0100
@@ -2768,7 +2768,7 @@
 void cDvdPlayer::GetAudioLanguageStr(const char **AudioLanguageStr) const
 {
 	static char buffer[100];
-	char *audioTypeDescr = NULL;
+	const char *audioTypeDescr = NULL;
 
     if (!DVDActiveAndRunning()) {
         *AudioLanguageStr = "n.a.";