X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b6a582bef796b43ad4cf0a96bd40bfd631460c6..43f4e852a1b2ac37c3db6a2b87315192ac549191:/src/msw/ole/uuid.cpp diff --git a/src/msw/ole/uuid.cpp b/src/msw/ole/uuid.cpp index d4079803b4..2153a25391 100644 --- a/src/msw/ole/uuid.cpp +++ b/src/msw/ole/uuid.cpp @@ -86,7 +86,7 @@ bool Uuid::operator==(const Uuid& uuid) const { // IsEqualGUID() returns BOOL and not bool so use an explicit comparison to // avoid MSVC warnings about int->bool conversion - return IsEqualGUID(m_uuid, uuid.m_uuid) == TRUE; + return IsEqualGUID(m_uuid, uuid.m_uuid) != 0; } // dtor