aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-13 19:39:41 -0800
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-13 19:42:38 -0800
commit6bde2ed8806b3e53657d46b61ee79d7afe5c2e13 (patch)
tree116b747e03890c86b964ce3f50c9cc1e74aba912 /rdoff
parent9f89eb38fc0e7566b8a35408b36d7c900ab5d046 (diff)
downloadnasm-6bde2ed8806b3e53657d46b61ee79d7afe5c2e13.tar.gz
nasm-6bde2ed8806b3e53657d46b61ee79d7afe5c2e13.tar.xz
nasm-6bde2ed8806b3e53657d46b61ee79d7afe5c2e13.zip
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 'rdoff')
-rw-r--r--rdoff/rdoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c
index 77fec399..e77c88ef 100644
--- a/rdoff/rdoff.c
+++ b/rdoff/rdoff.c
@@ -229,7 +229,7 @@ int rdf_errno = 0;
/* ========================================================================
* Hook for nasm_error() to work
* ======================================================================== */
-static void rdoff_verror(int severity, const char *fmt, va_list val)
+static void rdoff_verror(errflags severity, const char *fmt, va_list val)
{
vfprintf(stderr, fmt, val);