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
commit4f21d3132e7fbebaab1575cf653546cbf678f5cc (patch)
treee8c6fdded722cbb3d168285f75eff6d2424b4728 /ext/pdo_odbc/odbc_driver.c
parent3acd5811ae0ededa9523fe139ffeac08d956daee (diff)
downloadphp-git-4f21d3132e7fbebaab1575cf653546cbf678f5cc.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);