Mercurial > mplayer.hg
diff loader/vfl.c @ 18878:3bf0d70b4c7f
rm unnecesary casts from void* - part 2
author | reynaldo |
---|---|
date | Sun, 02 Jul 2006 03:59:36 +0000 |
parents | 0783dd397f74 |
children | b70f5ac9c001 |
line wrap: on
line diff
--- a/loader/vfl.c Sat Jul 01 22:15:37 2006 +0000 +++ b/loader/vfl.c Sun Jul 02 03:59:36 2006 +0000 @@ -78,7 +78,7 @@ /* FIXME: do we need to fill out the rest too? */ hdrv=OpenDriverA((long)&icopen); if (!hdrv) return 0; - whic = (WINE_HIC*)malloc(sizeof(WINE_HIC)); + whic = malloc(sizeof(WINE_HIC)); whic->hdrv = hdrv; whic->driverproc= ((DRVR*)hdrv)->DriverProc; // whic->private = ICSendMessage((HIC)whic,DRV_OPEN,0,(long)&icopen);