[xmlroff] fo-block.c and fo-wrapper.c warning fix
Aron Stansvik
elvstone at gmail.com
Fri Jul 13 21:29:05 UTC 2007
Hello xmlroff devs!
I tried to reach you on IRC yesterday about this, but I guess you were asleep :)
Should fo_fo_validate_pcdata_inline_block_neutral() not take a
gpointer argument instead of a gboolean pointer? The attached patch
(not tested!) explains what I mean.
This fixes two warnings:
fo-block.c: In function 'fo_block_validate_content':
fo-block.c:1533: warning: passing argument 3 of
'fo_node_children_foreach' from incompatible pointer type
fo-wrapper.c: In function 'fo_wrapper_validate_content':
fo-wrapper.c:289: warning: passing argument 3 of
'fo_node_children_foreach' from incompatible pointer type
Not sure if it's the right thing to do though!
Best regards,
Aron Stansvik
More information about the xmlroff-list
mailing list