Casting OSStatus vars to avoid compiler warning after adding 64-bit
support to the project.