On Thu, May 7, 2009 at 12:07 PM, Tyler Littlefield <[email protected]> wrote: > should also use sizeof(structure)
Well, not really, you should use: storage = malloc (sizeof *storage); That way it doesn't matter if you change the type of 'storage.' <snip> -- PJH http://shabbleland.myminicity.com/com http://www.chavgangs.com/register.php?referer=9375
