[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: |
gaius |
Subject: |
Re: [Gm2] bug: INTEGER8 or INTEGER16 passed to INTEGER32 parameter |
Date: |
Thu, 01 Jul 2010 09:27:00 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
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
- Re: [Gm2] bug: INTEGER8 or INTEGER16 passed to INTEGER32 parameter,
gaius <=