aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-03-24 05:23:58 +0800
committerChristian Persch <chpe@src.gnome.org>2006-03-24 05:23:58 +0800
commitf506d3873fdf2f1997e4603f867866ab8765f309 (patch)
tree2223e5b8a5a64cb70009870a07012d17d7365974 /lib/ephy-node.c
parent1137079eaf364725fbbb7ba819102af22acbbc37 (diff)
downloadgsoc2013-epiphany-f506d3873fdf2f1997e4603f867866ab8765f309.tar
gsoc2013-epiphany-f506d3873fdf2f1997e4603f867866ab8765f309.tar.gz
gsoc2013-epiphany-f506d3873fdf2f1997e4603f867866ab8765f309.tar.bz2
gsoc2013-epiphany-f506d3873fdf2f1997e4603f867866ab8765f309.tar.lz
gsoc2013-epiphany-f506d3873fdf2f1997e4603f867866ab8765f309.tar.xz
gsoc2013-epiphany-f506d3873fdf2f1997e4603f867866ab8765f309.tar.zst
gsoc2013-epiphany-f506d3873fdf2f1997e4603f867866ab8765f309.zip
Fix print format/arg mismatch.
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.
Diffstat (limited to 'lib/ephy-node.c')
-rw-r--r--lib/ephy-node.c4
1 files changed, 2 insertions, 2 deletions
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 */