aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/include/lib/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/lib/assert.h b/sys/include/lib/assert.h
index ce0c15b..2156b6c 100644
--- a/sys/include/lib/assert.h
+++ b/sys/include/lib/assert.h
@@ -34,7 +34,7 @@
#include <sys/types.h>
#define __assert(condition) \
- if ((uintptr_t)condition == 0) { \
+ if ((uintptr_t)(condition) == 0) { \
panic("Assert \"%s\" failed\n", #condition); \
}