Somebody obviously took a course "coding non-portable".

Pointers are not always 4 bytes!


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14178 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-12-17 20:32:46 +00:00
parent 3669e31236
commit 715ab14952
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ void gaddlist( char *** list,char * entry )
free( (*list) );
}
(*list)=malloc( 8 );
(*list)=malloc( 2 * sizeof(char **) );
(*list)[0]=gstrdup( entry );
(*list)[1]=NULL;
}