[fpc-devel] DOM patch

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Aug 28 13:14:24 CEST 2009


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



More information about the fpc-devel mailing list