mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
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 <hpa@zytor.com>
This commit is contained in:
parent
4be9b5790d
commit
2987e5d90e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user