summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-06-23 13:20:54 +0000
committerArd Biesheuvel <abies@php.net>2004-06-23 13:20:54 +0000
commit18cd69ef742fb4ecd1ca3472825b845ea883b67d (patch)
treef96ee9626256de0c8b4a26b62e767b833735234a
parent8327d4e2bd3107ddd9ce7e0c3eb230310e283d21 (diff)
downloadphp-git-18cd69ef742fb4ecd1ca3472825b845ea883b67d.tar.gz
Fixed some int-long issues
-rwxr-xr-xext/pdo/pdo_dbh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c
index 8d40d24d32..aedc5d18d6 100755
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -134,10 +134,10 @@ static PHP_FUNCTION(dbh_constructor)
pdo_dbh_t *dbh = NULL;
zend_bool is_persistent = FALSE;
char *data_source;
- long data_source_len;
+ int data_source_len;
char *colon;
char *username=NULL, *password=NULL;
- long usernamelen, passwordlen;
+ int usernamelen, passwordlen;
pdo_driver_t *driver = NULL;
zval *driver_options = NULL;
@@ -215,7 +215,7 @@ static PHP_METHOD(PDO, prepare)
pdo_dbh_t *dbh = zend_object_store_get_object(getThis() TSRMLS_CC);
pdo_stmt_t *stmt;
char *statement;
- long statement_len;
+ int statement_len;
zval *driver_options = NULL;
long options = 0;
@@ -425,7 +425,7 @@ static PHP_METHOD(PDO, exec)
{
pdo_dbh_t *dbh = zend_object_store_get_object(getThis() TSRMLS_CC);
char *statement;
- long statement_len;
+ int statement_len;
long ret;
if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &statement, &statement_len)) {