r_cast did not return, which was causing warnings on certain compilers