mirror of
https://github.com/mpv-player/mpv
synced 2025-03-24 04:08:19 +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:
parent
b0294bbafb
commit
4cbc615ca4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user