[xmlroff] Re: fo-block.c and fo-wrapper.c warning fix
Aron Stansvik
elvstone at gmail.com
Fri Jul 13 21:31:43 UTC 2007
2007/7/13, Aron Stansvik <elvstone at gmail.com>:
> 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.
And of course I forgot the attachment. Here it comes..
Aron
>
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fo-fo.c.diff
Type: text/x-patch
Size: 1531 bytes
Desc: not available
Url : http://lists.xmlroff.org/pipermail/xmlroff-list/attachments/20070713/eccd0ed7/fo-fo.c.bin
More information about the xmlroff-list
mailing list