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:29 +0100
commit3edd33083c59fcbded55a272abee18ae2946d9ce (patch)
tree2909cc36b23fa0c40a8dfbee925a8d7d639320d0 /ext/pdo_odbc/odbc_driver.c
parent753bbad5353c7bfc13e0fd7b65f0824b6a41e5a8 (diff)
downloadphp-git-3edd33083c59fcbded55a272abee18ae2946d9ce.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);