summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index ce19428..f159c9b 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -62,7 +62,7 @@ static inline u32 wayc_min(u32 a, u32 b) { return a > b ? a : b; }
if (!(expr)) wayc_panic("Assertion failed: %s", #expr); \
} while (0)
-#define wayc_notnull(expr) wayc_assert(expr != NULL)
+#define wayc_notnull(expr) wayc_assert(expr != nullptr)
#define WAYC_CONCAT_IMPL(a, b) a##b
#define WAYC_CONCAT(a, b) WAYC_CONCAT_IMPL(a, b)