[MPlayer-cvslog] CVS: main/Gui interface.c,1.98,1.99

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Dec 17 21:32:48 CET 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/Gui
In directory mail:/var2/tmp/cvs-serv19091/Gui

Modified Files:
	interface.c 
Log Message:
Somebody obviously took a course "coding non-portable".
Pointers are not always 4 bytes!


Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- interface.c	15 Dec 2004 01:22:23 -0000	1.98
+++ interface.c	17 Dec 2004 20:32:46 -0000	1.99
@@ -116,7 +116,7 @@
    free( (*list) );
   }
 
- (*list)=malloc( 8 );
+ (*list)=malloc( 2 * sizeof(char **) );
  (*list)[0]=gstrdup( entry );
  (*list)[1]=NULL;
 }




More information about the MPlayer-cvslog mailing list