Hello!
> > > - QTAILQ_FOREACH(prop, &obj->parent->properties, node) {
> > > + g_hash_table_iter_init(&iter, obj->parent->properties);
> > > + while (g_hash_table_iter_next(&iter, NULL, (gpointer *)&prop)) {
> >
> > Is this cast needed?
>
> Probably not, as any pointer should coerce to void * without an
> explicit cast, unless it had a 'const' involved.
But after '&' it becomes "**", not just "*", and this implicit conversion
rule doesn't apply any more. "void **" and "something **" are always considered
different.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia