0
votes

I have developed iOS app. It is working fine on 32 bit devices, but App Store needs to support 64 bit compulsory. so I have added arm64 to architecture, and I'm getting type citing error..

  1. cast from pointer to smaller type int loses information..

    r14 = (int)((byte*)type - (int)mem_ds);
    
  2. many same warnings: Implicit conversion loses integer precision: 'long long' to 'int'

You can see it in screen shot:

This is my screen shot having error

1

1 Answers

1
votes

As said in the doc (see 64-Bit Transition Guide for Cocoa Touch) use the special uintptr_t type to avoid truncation.