Add a cast so that some old compilers don't complain.