Ticket #54 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

fo-block.c and fo-wrapper.c warning fix

Reported by: tkg Assigned to:
Priority: minor Milestone: xmlroff 0.5.2
Component: libfo Version: 0.5.x
Keywords: Cc:
Blocking: 51

Description

From email from Aron Stansvik:

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

Attachments

fo-fo.c.diff (1.5 kB) - added by tkg on 07/14/07 19:52:02.
Patch diff.

Change History

07/14/07 19:52:02 changed by tkg

  • attachment fo-fo.c.diff added.

Patch diff.

07/15/07 20:21:28 changed by astan

Ah, I should have filed a ticket straight away instead of posting to mailing list.

Regards, Aron

07/17/07 13:51:27 changed by tkg

  • status changed from new to closed.
  • resolution set to fixed.

Committed in changeset:89.

07/18/07 19:47:51 changed by tkg

  • milestone set to xmlroff 0.5.2.