microvm/microvm-spec

Casts in muapi.h, please

Closed this issue · 1 comments

Things like MU_BINOP_ADD should have the cast to MuBinOptr, e.g.:

define MU_BINOP_ADD ((MuBinOptr)0x01)

(This is the consensus of the UMass team + Tony)

wks commented

Good idea. This will force them to have the appropriate sizes and signedness.

Fixed in 831315b