From 4cbc615ca4031ebf35ac8c44b41812b103f262f9 Mon Sep 17 00:00:00 2001 From: gpoirier Date: Fri, 21 Jul 2006 20:17:41 +0000 Subject: 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) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19152 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/win32/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Gui/win32') diff --git a/Gui/win32/interface.c b/Gui/win32/interface.c index d622d6c105..7c766e4bf9 100644 --- a/Gui/win32/interface.c +++ b/Gui/win32/interface.c @@ -89,7 +89,7 @@ int parse_filename(char *file, play_tree_t *playtree, m_config_t *mconfig, int c /** * \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 @@ void gaddlist( char ***list, char *entry) (*list)[1] = NULL; } -char *gstrdup(char *str) +char *gstrdup(const char *str) { if (!str) return NULL; return strdup(str); -- cgit v1.2.3