changeset 23647:ee915faa2a2e

remove useless calloc cast
author reimar
date Tue, 26 Jun 2007 15:51:43 +0000
parents af858fdae0fa
children 09f454fc4d79
files libvo/vo_gl2.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl2.c	Tue Jun 26 15:14:28 2007 +0000
+++ b/libvo/vo_gl2.c	Tue Jun 26 15:51:43 2007 +0000
@@ -228,8 +228,7 @@
 
   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;