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
This commit is contained in:
gpoirier 2006-07-21 20:17:41 +00:00
parent b0294bbafb
commit 4cbc615ca4
1 changed files with 2 additions and 2 deletions

View File

@ -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);