summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/odbc_driver.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-03-10 08:24:33 +0100
committerAnatol Belski <ab@php.net>2016-03-10 08:45:46 +0100
commitce9a582d0788b5378ec5a5bbbf87740d23cc913d (patch)
treed82e10bbd006582a97c8ec7bab7beb6c1bdf5733 /ext/pdo_odbc/odbc_driver.c
parent50960d85ccabdacd0c91897617b8c8c21dc4ec25 (diff)
downloadphp-git-ce9a582d0788b5378ec5a5bbbf87740d23cc913d.tar.gz
fix invalid pointer on 64-bit
Diffstat (limited to 'ext/pdo_odbc/odbc_driver.c')
-rw-r--r--ext/pdo_odbc/odbc_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/odbc_driver.c b/ext/pdo_odbc/odbc_driver.c
index eca9544f9f..3a9300c5cd 100644
--- a/ext/pdo_odbc/odbc_driver.c
+++ b/ext/pdo_odbc/odbc_driver.c
@@ -393,7 +393,7 @@ static int pdo_odbc_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{
pdo_odbc_db_handle *H;
RETCODE rc;
int use_direct = 0;
- SQLUINTEGER cursor_lib;
+ zend_ulong cursor_lib;
H = pecalloc(1, sizeof(*H), dbh->is_persistent);