diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-02 03:59:36 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-02 03:59:36 +0000 |
commit | 9d9a15d18572d1450fd8fef495be3629bf85c995 (patch) | |
tree | bfbc498db3d3ada10c8cfe64c9381bce66533419 /libvo/vo_macosx.m | |
parent | 1ad9af38b5120af85129d3b74834c7ed9690e7f3 (diff) | |
download | mpv-9d9a15d18572d1450fd8fef495be3629bf85c995.tar.bz2 mpv-9d9a15d18572d1450fd8fef495be3629bf85c995.tar.xz |
rm unnecesary casts from void* - part 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_macosx.m')
-rw-r--r-- | libvo/vo_macosx.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 4d289772ec..49c2097b2a 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -125,7 +125,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_ break; } image_bytes = (image_depth + 7) / 8; - image_data = (unsigned char*)malloc(image_width*image_height*image_bytes); + image_data = malloc(image_width*image_height*image_bytes); if(!shared_buffer) { |