BR3392198: Fix compilation warning on prefixes
commit18914e63305314b36e550439b41e0bf157cf338d
authorCyrill Gorcunov <gorcunov@gmail.com>
Sat, 12 Nov 2011 07:41:51 +0000 (12 11:41 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 12 Nov 2011 07:41:51 +0000 (12 11:41 +0400)
tree8d58e79a5794dbd7fe9052511b6973823c15a9a2
parent013da297826144e400e84db7c04e4dfd21532dce
BR3392198: Fix compilation warning on prefixes

insn->prefixes might contain not only values from
'enum prefixes' but from 'enum reg_enum' as well so
make it generic 'int' instead.

This calms down the compiler about enum's mess and
eliminates a wrong assumption that we always have
values by particular type in this field.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
assemble.c
nasm.h
parser.c