Fix FTBFS on Fedora 34

Qt.cpp:2643:17: error: ordered comparison of pointer with integer zero ('void*' and 'int')

Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit 817f960e8e)
r14.0.x
François Andriot 4 years ago committed by Michele Calgaro
parent 7478dfdd73
commit 49f44e4520
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -2640,7 +2640,7 @@ isObject(VALUE /*self*/, VALUE obj)
{
void * ptr = 0;
ptr = value_to_ptr(obj);
return (ptr > 0 ? Qtrue : Qfalse);
return (ptr != 0 ? Qtrue : Qfalse);
}
static VALUE

Loading…
Cancel
Save