[Mplayer-cvslog] CVS: main/libmpcodecs mp_image.h,1.18,1.19

Arpi of Ize arpi at mplayerhq.hu
Mon Aug 5 03:06:28 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv15253

Modified Files:
	mp_image.h 
Log Message:
warning fix


Index: mp_image.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/mp_image.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mp_image.h	2 Aug 2002 22:55:53 -0000	1.18
+++ mp_image.h	5 Aug 2002 01:06:25 -0000	1.19
@@ -177,7 +177,7 @@
 #endif
 
 static inline mp_image_t* new_mp_image(int w,int h){
-    mp_image_t* mpi=malloc(sizeof(mp_image_t));
+    mp_image_t* mpi=(mp_image_t*)malloc(sizeof(mp_image_t));
     if(!mpi) return NULL; // error!
     memset(mpi,0,sizeof(mp_image_t));
     mpi->width=mpi->w=w;




More information about the MPlayer-cvslog mailing list