summaryrefslogtreecommitdiffstats
path: root/Gui/interface.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-17 20:32:46 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-17 20:32:46 +0000
commit715ab1495235c81735935238418cabe5ff1aa9d9 (patch)
tree434a86b1d1b330f5e63be20a5c014e1da7a29475 /Gui/interface.c
parent3669e312367d465232267dc5e92bf6e140638ba6 (diff)
downloadmpv-715ab1495235c81735935238418cabe5ff1aa9d9.tar.bz2
mpv-715ab1495235c81735935238418cabe5ff1aa9d9.tar.xz
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
Diffstat (limited to 'Gui/interface.c')
-rw-r--r--Gui/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/interface.c b/Gui/interface.c
index 5645ca6515..c655e06720 100644
--- a/Gui/interface.c
+++ b/Gui/interface.c
@@ -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;
}