[fpc-pascal] How to solve "Conversion between ordinals and pointers is not portable"
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Nov 17 10:38:55 CET 2009
On 17 Nov 2009, at 10:38, Graeme Geldenhuys wrote:
> So in that case because a untyped parameters are treated like generic
> Pointer types whereby arithmetic increments in byte size, I don't
> actually need any type casts the parameters at all?
Indeed. In general, I'd recommend to always add a pointer typecast though, to avoid problems in case the declared type should ever change.
Jonas
More information about the fpc-pascal
mailing list