* 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
This commit is contained in:
James LewisMoss committed 2001-06-04 17:01:53 +00:00
1 parent 20b7b92701
commit 886509ae3b
1 file changed
+3 -2
+3 -2
View File
@@ -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);