diff options
Diffstat (limited to 'Gui/mplayer/pb.c')
-rw-r--r-- | Gui/mplayer/pb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/mplayer/pb.c b/Gui/mplayer/pb.c index 69a3734509..f8cad1c10b 100644 --- a/Gui/mplayer/pb.c +++ b/Gui/mplayer/pb.c @@ -226,7 +226,7 @@ void mplPBInit( void ) gfree( (void**)&mplPBDrawBuffer ); - if ( ( mplPBDrawBuffer = (unsigned char *)malloc( appMPlayer.bar.Bitmap.ImageSize ) ) == NULL ) + if ( ( mplPBDrawBuffer = malloc( appMPlayer.bar.Bitmap.ImageSize ) ) == NULL ) { mp_msg( MSGT_GPLAYER,MSGL_FATAL,MSGTR_NEMDB ); exit( 0 ); |