changeset 19147:2149651156bc

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)
author gpoirier
date Fri, 21 Jul 2006 20:17:41 +0000
parents cdbf9992b737
children 3b839a8d297a
files Gui/win32/interface.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/win32/interface.c	Fri Jul 21 17:52:28 2006 +0000
+++ b/Gui/win32/interface.c	Fri Jul 21 20:17:41 2006 +0000
@@ -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);