summaryrefslogtreecommitdiff
path: root/quote.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-15 16:28:43 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-07-15 16:30:30 -0400
commit252c2db7d97ea1e45c3adccd3b44ceb4df5c07b5 (patch)
tree18d720cf7a39b5115b236d645433ded1480b529b /quote.c
parent4d5029dd76423277ccf4fb2cdf7200968aef3a8b (diff)
downloadnasm-252c2db7d97ea1e45c3adccd3b44ceb4df5c07b5.tar.gz
nasm-252c2db7d97ea1e45c3adccd3b44ceb4df5c07b5.tar.bz2
nasm-252c2db7d97ea1e45c3adccd3b44ceb4df5c07b5.zip
quote: use nasm_assert() instead of plain assert()
We have nasm_assert() now, so use it... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'quote.c')
-rw-r--r--quote.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/quote.c b/quote.c
index 4cf4f25..2cb55b1 100644
--- a/quote.c
+++ b/quote.c
@@ -37,7 +37,6 @@
#include "compiler.h"
-#include <assert.h>
#include <stdlib.h>
#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;
}