diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-13 19:39:41 -0800 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-13 19:42:38 -0800 |
commit | 6bde2ed8806b3e53657d46b61ee79d7afe5c2e13 (patch) | |
tree | 116b747e03890c86b964ce3f50c9cc1e74aba912 /disasm | |
parent | 9f89eb38fc0e7566b8a35408b36d7c900ab5d046 (diff) | |
download | nasm-6bde2ed8806b3e53657d46b61ee79d7afe5c2e13.tar.gz |
errors: change the severity parameter from "int" to "errflags"
Change the severity parameter to the error function from "int" to an
unsigned typedef, currently uint32_t.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'disasm')
-rw-r--r-- | disasm/ndisasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm/ndisasm.c b/disasm/ndisasm.c index f2067a31..0863309f 100644 --- a/disasm/ndisasm.c +++ b/disasm/ndisasm.c @@ -69,7 +69,7 @@ static const char *help = static void output_ins(uint64_t, uint8_t *, int, char *); static void skip(uint32_t dist, FILE * fp); -static void ndisasm_verror(int severity, const char *fmt, va_list va) +static void ndisasm_verror(errflags severity, const char *fmt, va_list va) { vfprintf(stderr, fmt, va); |