diff options
Diffstat (limited to 'ext/ldap/ldap.c')
-rw-r--r-- | ext/ldap/ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index a4dbca40bc..5d34d9ccba 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -345,11 +345,11 @@ PHP_FUNCTION(ldap_connect) { char *host = NULL; int hostlen; - int port = 389; /* Default port */ + long port = 389; /* Default port */ #ifdef HAVE_ORALDAP char *wallet, *walletpasswd; int walletlen, walletpasswdlen; - int authmode; + long authmode; int ssl=0; #endif ldap_linkdata *ld; |