[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Incompatible CARDINAL8
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Incompatible CARDINAL8 |
Date: |
Fri, 11 Jun 2010 08:56:05 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Martin Kalbfuß <address@hidden> writes:
> Hi,
>
> I have a record
>
> Version = RECORD
> major : SYSTEM.CARDINAL8;
> minor : SYSTEM.CARDINAL8;
> path : SYSTEM.CARDINAL8;
> END;
>
> If I do a STextIO.WriteCard(v.major, 1);
>
> I get garbage like 134681089S as output. I assumed, that a CARDINAL8 is
> casted to a CARDINAL.
>
> if I do
>
> VAR major : CARDINAL;
>
> major := v.major;
>
> STextIO.WriteCard(major, 1);
>
> The result is correct.
>
> Compiler version is 0.78 (20100606)
Hi Martin,
thanks for the report - indeed a bug - and I will fix it..
regards,
Gaius