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

Graeme Geldenhuys graeme at mastermaths.co.za
Tue Nov 17 10:48:34 CET 2009

dmitry boyarintsev wrote:
> procedure XorBlock(var InData1, InData2; Size: longword);
> var
>   b1 : PByte; 
>   b2 ; PByte;

Changing those declarations to PByteArray type solves the compiler error
in FPC.

  b1: PByteArray;
  b2: PByteArray;

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-pascal mailing list