[svn:parrot] r33389 - branches/pdd22io_part2/src/io

chromatic chromatic at wgz.org
Mon Dec 1 01:16:52 UTC 2008


On Sunday 30 November 2008 17:00:26 allison at cvs.perl.org wrote:

> Modified: branches/pdd22io_part2/src/io/core.c
> ===========================================================================
>=== --- branches/pdd22io_part2/src/io/core.c        (original)
> +++ branches/pdd22io_part2/src/io/core.c        Sun Nov 30 17:00:26 2008
> @@ -69,7 +69,7 @@
>              "PIO alloc piodata failure.");
>      interp->piodata->default_stack = NULL;
>      interp->piodata->table         =
> -        (PMC **)mem_sys_allocate_zeroed(PIO_NR_OPEN * sizeof (ParrotIO
> *)); +        (PMC **)mem_sys_allocate_zeroed(PIO_NR_OPEN * sizeof (PMC
> *));

That could probably be:

	interp->piodata->table = mem_allocate_n_zeroed_typed(PIO_NR_OPEN, PMC *);

-- c


More information about the parrot-dev mailing list