fix juvenile C error in cswap