diff options
author | Zeev Suraski <zeev@php.net> | 2000-06-17 16:49:03 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-06-17 16:49:03 +0000 |
commit | da662986592131d30d4813e178c72c1d9653e644 (patch) | |
tree | dccb4509b7b35002b3c8e465b44855ab96a19668 /ext/ftp/php_ftp.c | |
parent | eb6f625d830f1797c0af7027a1f9c48e3d7e74b9 (diff) | |
download | php-git-da662986592131d30d4813e178c72c1d9653e644.tar.gz |
- Fix a couple of wranings in the FTP code and in parsedate.y
- Be safer with LC_MESSAGES
- Align with the latest Zend change in call_user_function_ex()
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index e8b215c98a..8a4da53991 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -151,7 +151,7 @@ PHP_FUNCTION(ftp_connect) WRONG_PARAM_COUNT; } convert_to_long(arg2); - port = arg2->value.lval; + port = (short) arg2->value.lval; break; default: WRONG_PARAM_COUNT; |