summaryrefslogtreecommitdiff
path: root/6/asm.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-01-02 13:53:38 -0800
committerOri Bernstein <ori@markovcorp.com>2017-01-02 13:53:38 -0800
commit63a36e064a2f9c436a7784d142ef352860948a68 (patch)
tree0e479dc7edee3d81dff5ec8bfaedc7948178dbeb /6/asm.h
parent3f8013774a97396ace94769e216614ca4fde42a0 (diff)
downloadmc-63a36e064a2f9c436a7784d142ef352860948a68.tar.gz
Fix clang warnings.
Apparently enums getting promoted to ints in va_start() is undefined behavior. This is stupid.
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/6/asm.h b/6/asm.h
index f5edae7..cf08738 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -294,7 +294,7 @@ int isfloatmode(Mode m);
int isintmode(Mode m);
/* emitting instructions */
-Insn *mkinsn(AsmOp op, ...);
+Insn *mkinsn(int op, ...);
void dbgiprintf(FILE *fd, Insn *insn);
void dbglocprint(FILE *fd, Loc *l, char spec);