Fix warnings with XCode 5.0.2 compiling for 64bit, Fix Product->Analyze ...

Fix warnings with XCode 5.0.2 compiling for 64bit, Fix Product -> Analyze warnings.