[m-rev.] for review: fix bug #158

Zoltan Somogyi zs at csse.unimelb.edu.au
Thu Aug 19 16:18:14 AEST 2010


On 19-Aug-2010, Peter Wang <novalazy at gmail.com> wrote:
> When a foreign_proc output variable of type `char' is assigned to an
> MR_Word variable, it must first be cast to an MR_UnsignedChar to prevent
> sign-extension of 8-bit character values.  This was documented in
> mercury_string.h.

That is fine. Thanks Peter.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list