ports/databases/libgda3/files/patch-libgda_handlers_gda-handler-numerical.c
Joe Marcus Clarke 0e78d56a59 Fix build on 4.X.
PR:		94941
Submitted by:	Tod McQuillin <devin@spamcop.net>
2006-03-31 23:43:04 +00:00

11 lines
410 B
C

--- libgda/handlers/gda-handler-numerical.c~ Mon Jan 23 02:57:38 2006
+++ libgda/handlers/gda-handler-numerical.c Sun Mar 26 10:18:42 2006
@@ -231,7 +231,7 @@
switch (type) {
case GDA_VALUE_TYPE_BIGINT:
- value = gda_value_new_bigint (atoll (str));
+ value = gda_value_new_bigint (strtoll (str, (char **)NULL, 10));
break;
case GDA_VALUE_TYPE_DOUBLE:
value = gda_value_new_double (atof (str));