diff options
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) { |