Mercurial > mplayer.hg
diff libmpdemux/cdda.c @ 19062:83c3afeab35d
drops casts from void * on malloc/calloc from libmpdemux code
author | reynaldo |
---|---|
date | Thu, 13 Jul 2006 16:41:13 +0000 |
parents | d2d9d011203f |
children |
line wrap: on
line diff
--- a/libmpdemux/cdda.c Thu Jul 13 16:17:24 2006 +0000 +++ b/libmpdemux/cdda.c Thu Jul 13 16:41:13 2006 +0000 @@ -185,7 +185,7 @@ cd_info->sec = (unsigned int)((audiolen/75)%60); cd_info->msec = (unsigned int)(audiolen%75); - priv = (cdda_priv*)malloc(sizeof(cdda_priv)); + priv = malloc(sizeof(cdda_priv)); memset(priv, 0, sizeof(cdda_priv)); priv->cd = cdd; priv->cd_info = cd_info;