[MPlayer-cvslog] r19152 - trunk/Gui/win32/interface.c

gpoirier subversion at mplayerhq.hu
Fri Jul 21 22:17:42 CEST 2006


Author: gpoirier
Date: Fri Jul 21 22:17:41 2006
New Revision: 19152

Modified:
   trunk/Gui/win32/interface.c

Log:
Compile fix, patch by Aidan Thornton % makomk # lycos P co P uk %
Original thread:
Date: Jul 20, 2006 10:15 PM
Subject: [MPlayer-dev-eng] [PATCH] Make Win32 GUI compile again (broken 
by const fixes)


Modified: trunk/Gui/win32/interface.c
==============================================================================
--- trunk/Gui/win32/interface.c	(original)
+++ trunk/Gui/win32/interface.c	Fri Jul 21 22:17:41 2006
@@ -89,7 +89,7 @@
 /**
  * \brief this actually creates a new list containing only one element...
  */
-void gaddlist( char ***list, char *entry)
+void gaddlist( char ***list, const char *entry)
 {
     int i;
 
@@ -104,7 +104,7 @@
     (*list)[1] = NULL;
 }
 
-char *gstrdup(char *str)
+char *gstrdup(const char *str)
 {
     if (!str) return NULL;
     return strdup(str);



More information about the MPlayer-cvslog mailing list