1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

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

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... * \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; int i;
@ -104,7 +104,7 @@ void gaddlist( char ***list, char *entry)
(*list)[1] = NULL; (*list)[1] = NULL;
} }
char *gstrdup(char *str) char *gstrdup(const char *str)
{ {
if (!str) return NULL; if (!str) return NULL;
return strdup(str); return strdup(str);