summaryrefslogtreecommitdiff
path: root/ext/pdo_odbc/odbc_driver.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2011-06-27 01:36:39 +0000
committerFelipe Pena <felipe@php.net>2011-06-27 01:36:39 +0000
commit92ef080a2e096fdbf57c7777c39e90fbdb850e50 (patch)
tree11870a62bfbae42cb8184fe8205bdacc47938e93 /ext/pdo_odbc/odbc_driver.c
parentf5b05ce1629aef23289eb69b596a23a45d23e9a5 (diff)
downloadphp-git-92ef080a2e096fdbf57c7777c39e90fbdb850e50.tar.gz
- Fixed data type usage in 64bit
Reported by: Leonildo Costa
Diffstat (limited to 'ext/pdo_odbc/odbc_driver.c')
-rwxr-xr-xext/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 f257649693..97b5747863 100755
--- a/ext/pdo_odbc/odbc_driver.c
+++ b/ext/pdo_odbc/odbc_driver.c
@@ -224,7 +224,7 @@ static long odbc_handle_doer(pdo_dbh_t *dbh, const char *sql, long sql_len TSRML
{
pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data;
RETCODE rc;
- long row_count = -1;
+ SQLLEN row_count = -1;
PDO_ODBC_HSTMT stmt;
rc = SQLAllocHandle(SQL_HANDLE_STMT, H->dbc, &stmt);