[fpc-pascal] Internal error 200706094
waldo kitty
wkitty42 at windstream.net
Mon Sep 29 17:13:08 CEST 2014
On 9/29/2014 5:48 AM, Victor Matuzenko wrote:
> IMO the problem is the transformation -1 into an unsigned value.
> (Unsigned(-1) > Max(Signed).)
>
> How can I rewrite this code to make it correct? I want to use
> constants to calculate offsets from untyped pointer.
have you tried using a typed const?
const
C : int64 = -1;
--
NOTE: No off-list assistance is given without prior approval.
Please *keep mailing list traffic on the list* unless
private contact is specifically requested and granted.
More information about the fpc-pascal
mailing list