1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/databases/libgda3/files/patch-providers_oracle_utils.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

12 lines
435 B
C

--- providers/oracle/utils.c~ Wed Mar 15 07:25:51 2006
+++ providers/oracle/utils.c Sun Mar 26 10:20:18 2006
@@ -415,7 +415,7 @@
g_free (string_buffer);
break;
case GDA_VALUE_TYPE_BIGINT:
- gda_value_set_bigint (value, atoll (ora_value->value));
+ gda_value_set_bigint (value, strtoll (ora_value->value, (char **)NULL, 10));
break;
case GDA_VALUE_TYPE_INTEGER:
gda_value_set_integer (value, atol (ora_value->value));