On 28 Aug 2009, at 13:10, Dariusz Mazur wrote:

- Using PtrInt for doing pointer math is discouraged in favor of
 PtrUInt;

I've changed PtrInt do PtrUInt, but its not possible in each place

how to resolve
tClass= tClass(PtrUInt +ptrInt)

FPC claim: combined unsigned and signed make result 64bit, which is incompatible with pointer

what is proper way to resolve this

Cast the ptruint to pointer (although I don't know whether this is Delphi-compatible).


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to