Fixed swap.c.