From 252c2db7d97ea1e45c3adccd3b44ceb4df5c07b5 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 15 Jul 2009 16:28:43 -0400 Subject: [PATCH] quote: use nasm_assert() instead of plain assert() We have nasm_assert() now, so use it... Signed-off-by: H. Peter Anvin --- quote.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quote.c b/quote.c index 4cf4f256..2cb55b14 100644 --- a/quote.c +++ b/quote.c @@ -37,7 +37,6 @@ #include "compiler.h" -#include #include #include "nasmlib.h" @@ -177,7 +176,7 @@ char *nasm_quote(char *str, size_t len) } *q++ = '`'; *q++ = '\0'; - assert((size_t)(q-nstr) == qlen+3); + nasm_assert((size_t)(q-nstr) == qlen+3); } return nstr; }