aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/assert.h b/include/assert.h
index 8004c4bad..c36679f8f 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -6,7 +6,7 @@
static __inline void __assert(int Cond)
{
#ifdef _DEBUG
- if (Cond)
+ if (!Cond)
{
printf("assertion occured.\n");
__asm int 3;