gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] bug: INTEGER8 or INTEGER16 passed to INTEGER32 parameter


From: SiTex Graphics
Subject: [Gm2] bug: INTEGER8 or INTEGER16 passed to INTEGER32 parameter
Date: Fri, 25 Jun 2010 16:14:58 -0400

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

Attachment: i8.mod
Description: audio/mod


reply via email to

[Prev in Thread] Current Thread [Next in Thread]