diff --git a/object.hpp b/object.hpp index 6f941ac..d4c0079 100644 --- a/object.hpp +++ b/object.hpp @@ -34,7 +34,7 @@ namespace cruft::vk { object (const native_t &_native): m_native (_native) { - CHECK_NEQ (m_native, VK_NULL_HANDLE); + CHECK_NEQ (m_native, static_cast (VK_NULL_HANDLE)); } object (object &&rhs): @@ -146,7 +146,7 @@ namespace cruft::vk { //--------------------------------------------------------------------- ~owned () { - CHECK_EQ (this->native (), VK_NULL_HANDLE); + CHECK_EQ (this->native (), static_cast (VK_NULL_HANDLE)); }