From 2987e5d90eac5fb136ee807727d73b61e2c366db Mon Sep 17 00:00:00 2001 From: sezeroz Date: Thu, 25 May 2017 05:55:40 +0000 Subject: [PATCH] BR 3392409: idata_bytes() and resv_bytes() don't match their prototypes https://bugzilla.nasm.us/show_bug.cgi?id=3392409 idata_bytes() and resv_bytes() don't match their prototypes in common.c which leads to a build error with watcom. Signed-off-by: H. Peter Anvin --- common/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/common.c b/common/common.c index 5a5462076..fb3e890d0 100644 --- a/common/common.c +++ b/common/common.c @@ -66,7 +66,7 @@ const char *prefix_name(int token) /* * initialized data bytes length from opcode */ -int idata_bytes(int opcode) +int idata_bytes(enum opcode opcode) { switch (opcode) { case I_DB: @@ -95,7 +95,7 @@ int idata_bytes(int opcode) /* * Uninitialized data bytes length from opcode */ -int resv_bytes(int opcode) +int resv_bytes(enum opcode opcode) { switch (opcode) { case I_RESB: