Mercurial > mplayer.hg
changeset 6911:695bd84c1b24
warning fix
author | arpi |
---|---|
date | Mon, 05 Aug 2002 01:06:25 +0000 |
parents | 1a747aee653b |
children | 5ddd609550d5 |
files | libmpcodecs/mp_image.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/mp_image.h Mon Aug 05 00:39:07 2002 +0000 +++ b/libmpcodecs/mp_image.h Mon Aug 05 01:06:25 2002 +0000 @@ -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;