You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
593 B
17 lines
593 B
|
|
https://svn.apache.org/viewvc?view=revision&revision=1908586
|
|
|
|
--- apr-util/dbd/apr_dbd_odbc.c
|
|
+++ apr-util/dbd/apr_dbd_odbc.c
|
|
@@ -582,8 +582,8 @@
|
|
(textmode ? atoi(args[*argp]) : *(short *)args[*argp]);
|
|
break;
|
|
case SQL_INTEGER:
|
|
- ptr = apr_palloc(pool, sizeof(int));
|
|
- len = sizeof(int);
|
|
+ ptr = apr_palloc(pool, sizeof(long));
|
|
+ len = sizeof(long);
|
|
*(long *)ptr =
|
|
(textmode ? atol(args[*argp]) : *(long *)args[*argp]);
|
|
break;
|