aboutsummaryrefslogtreecommitdiffstats
path: root/asm/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'asm/error.c')
-rw-r--r--asm/error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/error.c b/asm/error.c
index fa8d2d62..2a0b34ad 100644
--- a/asm/error.c
+++ b/asm/error.c
@@ -95,13 +95,13 @@ vefunc nasm_verror;
nasm_verror((s), fmt, ap); \
va_end(ap);
-void nasm_error(int severity, const char *fmt, ...)
+void nasm_error(errflags severity, const char *fmt, ...)
{
nasm_do_error(severity);
}
#define nasm_err_helpers(_type, _name, _sev) \
-_type nasm_ ## _name ## f (int flags, const char *fmt, ...) \
+_type nasm_ ## _name ## f (errflags flags, const char *fmt, ...) \
{ \
nasm_do_error((_sev)|flags); \
if (_sev >= ERR_FATAL) \