diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-node.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2006-03-23 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-node.c: (write_parent), (ephy_node_write_to_xml): + + Fix print format/arg mismatch. + +2006-03-23 Christian Persch <chpe@cvs.gnome.org> + * configure.ac: * src/ephy-main.c: (main): diff --git a/lib/ephy-node.c b/lib/ephy-node.c index 7da180d19..39c72f647 100644 --- a/lib/ephy-node.c +++ b/lib/ephy-node.c @@ -689,7 +689,7 @@ write_parent (guint id, if (data->ret < 0) return; data->ret = xmlTextWriterWriteFormatAttribute - (writer, (const xmlChar *)"id", "%ld", node_info->node->id); + (writer, (const xmlChar *)"id", "%d", node_info->node->id); if (data->ret < 0) return; data->ret = xmlTextWriterEndElement (writer); /* parent */ @@ -713,7 +713,7 @@ ephy_node_write_to_xml(EphyNode *node, if (ret < 0) goto out; /* write node id */ - ret = xmlTextWriterWriteFormatAttribute (writer, (const xmlChar *)"id", "%ld", node->id); + ret = xmlTextWriterWriteFormatAttribute (writer, (const xmlChar *)"id", "%d", node->id); if (ret < 0) goto out; /* write node properties */ |