From 886509ae3b4cdac5db7182c81a25686095ef5f31 Mon Sep 17 00:00:00 2001 From: James LewisMoss Date: Mon, 4 Jun 2001 17:01:53 +0000 Subject: [PATCH] * src/engine/io-gncxml-v2.c (gnc_counter_end_handler): use string_to_gint64 rather than string_to_integer. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4410 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/io-gncxml-v2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/io-gncxml-v2.c b/src/engine/io-gncxml-v2.c index 41d6458183..92370480ad 100644 --- a/src/engine/io-gncxml-v2.c +++ b/src/engine/io-gncxml-v2.c @@ -31,6 +31,7 @@ #include "sixtp.h" #include "sixtp-parsers.h" +#include "sixtp-utils.h" #include "gnc-xml.h" #include "gnc-book-p.h" #include "gnc-pricedb-p.h" @@ -166,9 +167,9 @@ gnc_counter_end_handler(gpointer data_for_children, type = xmlGetProp(tree, "cd:type"); strval = dom_tree_to_text(tree); - if(!string_to_integer(strval, &val)) + if(!string_to_gint64(strval, &val)) { - g_warning("string_to_integer failed with input: %s", + g_warning("string_to_gint64 failed with input: %s", strval ? strval : "(null)"); g_free (strval); xmlFree (type);