Merge remote-tracking branch 'origin/nasm-2.14.xx'

This commit is contained in:
H. Peter Anvin (Intel) 2018-12-13 22:09:08 -08:00
commit 0fca7de45d

View File

@ -1830,7 +1830,7 @@ static void nasm_verror_asm(int severity, const char *fmt, va_list args)
*warnsuf = 0;
if (spec_type == ERR_WARNING) {
snprintf(warnsuf, sizeof warnsuf, " [-w+%s%s]",
true_type ? "error=" : "",
(true_type >= ERR_NONFATAL) ? "error=" : "",
warnings[warn_index(severity)].name);
}