From db9f690747581b906025ae45b5ae7b1136dfaf36 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 26 Jun 2007 15:51:43 +0000 Subject: remove useless calloc cast git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23667 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 89d5bd5f61..55e2e4334d 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -228,8 +228,7 @@ static int initTextures(void) if (texgrid) free(texgrid); - texgrid = (struct TexSquare *) - calloc (texnumx * texnumy, sizeof (struct TexSquare)); + texgrid = calloc (texnumx * texnumy, sizeof (struct TexSquare)); raw_line_len = image_width * image_bytes; -- cgit v1.2.3