Permalink
Browse files

removed unnecessary cast

  • Loading branch information...
1 parent 0c03d1f commit fc23c71a4a20308e7243f04265e88265c1678dc2 @petdance petdance committed May 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gc/gc_inf.c
View
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2001-2010, Parrot Foundation.
+Copyright (C) 2001-2012, Parrot Foundation.
=head1 NAME
@@ -551,7 +551,7 @@ static void *
gc_inf_allocate_memory_chunk_zeroed(SHIM_INTERP, size_t size)
{
ASSERT_ARGS(gc_inf_allocate_memory_chunk_zeroed)
- void * const ptr = calloc(1, (size_t)size);
+ void * const ptr = calloc(1, size);
#ifdef DETAIL_MEMORY_DEBUG
fprintf(stderr, "Allocated %i at %p\n", size, ptr);
#endif

0 comments on commit fc23c71

Please sign in to comment.