summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-17 16:49:03 +0000
committerZeev Suraski <zeev@php.net>2000-06-17 16:49:03 +0000
commitda662986592131d30d4813e178c72c1d9653e644 (patch)
treedccb4509b7b35002b3c8e465b44855ab96a19668 /ext/ftp/ftp.c
parenteb6f625d830f1797c0af7027a1f9c48e3d7e74b9 (diff)
downloadphp-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/ftp.c')
-rw-r--r--ext/ftp/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
index 0fd428a804..6664fd587b 100644
--- a/ext/ftp/ftp.c
+++ b/ext/ftp/ftp.c
@@ -464,7 +464,7 @@ ftp_pasv(ftpbuf_t *ftp, int pasv)
return 0;
for (n=0; n<6; n++)
- ipbox.c[n] = b[n];
+ ipbox.c[n] = (unsigned char) b[n];
memset(&ftp->pasvaddr, 0, sizeof(ftp->pasvaddr));
ftp->pasvaddr.sin_family = AF_INET;