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_gl.c | |
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_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 0a9fd426d7..443e57f8cd 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -465,7 +465,7 @@ static void create_osd_texture(int x0, int y0, int w, int h, glCreateClearTex(gl_target, GL_ALPHA, scale_type, sx, sy, 255); { int i; - char *tmp = (char *)malloc(stride * h); + char *tmp = malloc(stride * h); // convert alpha from weird MPlayer scale. // in-place is not possible since it is reused for future OSDs for (i = h * stride - 1; i > 0; i--) |