summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/php_pdo_odbc_int.h
diff options
context:
space:
mode:
authorAndrew Kehrig <kehrigan@gmail.com>2014-02-24 12:01:58 -0500
committerStanislav Malyshev <stas@php.net>2014-05-26 22:17:29 -0700
commit91e7b3b84f08a2fabed8ed2196a827e481a4b79c (patch)
tree7be4620058f18692694b9f02394ca63c3b752805 /ext/pdo_odbc/php_pdo_odbc_int.h
parent076c25bfec126a431de574e4bad8df053ba50374 (diff)
downloadphp-git-91e7b3b84f08a2fabed8ed2196a827e481a4b79c.tar.gz
Fix #50444: PDO-ODBC changes for 64-bit
This bug is also referenced in [#61777](https://bugs.php.net/bug.php?id=61777) and is still present in the latest stable release of the 5.5 branch. I see two tickets exist for this problem already, and I'm just submitting these changes via github as a reminder that this is a serious problem for anyone using PDO_ODBC on the x64 builds.
Diffstat (limited to 'ext/pdo_odbc/php_pdo_odbc_int.h')
-rw-r--r--ext/pdo_odbc/php_pdo_odbc_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/php_pdo_odbc_int.h b/ext/pdo_odbc/php_pdo_odbc_int.h
index 87b2f9100d..5e42951f86 100644
--- a/ext/pdo_odbc/php_pdo_odbc_int.h
+++ b/ext/pdo_odbc/php_pdo_odbc_int.h
@@ -157,7 +157,7 @@ typedef struct {
} pdo_odbc_stmt;
typedef struct {
- SQLINTEGER len;
+ SQLLEN len;
SQLSMALLINT paramtype;
char *outbuf;
unsigned is_unicode:1;