diff --git a/Libraries/LibC/assert.h b/Libraries/LibC/assert.h index d1e1041e54..055553514b 100644 --- a/Libraries/LibC/assert.h +++ b/Libraries/LibC/assert.h @@ -41,7 +41,7 @@ __attribute__((noreturn)) void __assertion_failed(const char* msg); } while (0) # define ASSERT_NOT_REACHED() assert(false) #else -# define assert(expr) (void(0)) +# define assert(expr) ((void)(0)) # define ASSERT_NOT_REACHED() CRASH() #endif