[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] bug: INTEGER8 or INTEGER16 passed to INTEGER32 parameter
From: |
SiTex Graphics |
Subject: |
Re: [Gm2] bug: INTEGER8 or INTEGER16 passed to INTEGER32 parameter |
Date: |
Thu, 1 Jul 2010 11:59:44 -0700 |
Great - thanks very much for this and the other recent fixes.
-Scott
On Thu, Jul 1, 2010 at 6:27 AM, <address@hidden> wrote:
> SiTex Graphics <address@hidden> writes:
>
>> Hi Gaius,
>>
>> There's a bug in the conversion of INTEGER8 or INTEGER16 variables
>> used as INTEGER32 parameter values. Test code attached. Compile with
>>
>> gm2 -o i8 -fiso -fmakeall i8.mod
>>
>> E.g., a value of -1 is converted to 255. Wrapping the variable in
>> VAL(INTEGER32,) produces a correct conversion.
>>
>> -Scott
>
> Hi Scott,
>
> thanks for the bug report and accompanying test code. Now fixed in
> the latest cvs,
>
> regards,
> Gaius
>