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>
pull/8/head
François Andriot 4 years ago
parent 6458e39cdc
commit 817f960e8e

@ -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