core: Fix int64x64-cairo.h bool operator

This commit is contained in:
Gabriel Ferreira
2022-05-11 22:01:16 -03:00
parent 64a51b15ac
commit c9cf798e5f

View File

@@ -201,7 +201,7 @@ public:
/** Explicit bool conversion. */
inline explicit operator bool () const
{
return (_v != 0);
return (_v.hi != 0 || _v.lo != 0);
}
/**