Cast appropriately. Prefer c++ to c casts.