Skip to content

Commit

Permalink
removed unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed May 14, 2012
1 parent 0c03d1f commit fc23c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gc/gc_inf.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2001-2010, Parrot Foundation.
Copyright (C) 2001-2012, Parrot Foundation.
=head1 NAME
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fc23c71

Please sign in to comment.