[fpc-pascal] How to solve "Conversion between ordinals and pointers is not portable"

Aleksa Todorovic alexionne at gmail.com
Tue Nov 17 10:17:40 CET 2009


On Tue, Nov 17, 2009 at 10:05, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> Replace the PtrUInt types casts with PByte (or Pointer) type casts.
>

Does that mean that (PByte(p) + N) = (Pointer(p) + N) for
pointer-castable p and integer N?



More information about the fpc-pascal mailing list