summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-02-28 21:03:36 +0000
committerWez Furlong <wez@php.net>2003-02-28 21:03:36 +0000
commit349ce76f9660850c0a15f660dff7cebb81c0abc8 (patch)
treecd03704ec5665e40106e5c509e3fb313c4423c50 /ext/ftp/ftp.h
parent1ad304c2c529905c9a157afa8d3bb57f26481f7e (diff)
downloadphp-git-349ce76f9660850c0a15f660dff7cebb81c0abc8.tar.gz
Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef.
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r--ext/ftp/ftp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h
index 2fffe08f94..f934a989ee 100644
--- a/ext/ftp/ftp.h
+++ b/ext/ftp/ftp.h
@@ -46,7 +46,7 @@ typedef enum ftptype {
typedef struct databuf
{
int listener; /* listener socket */
- int fd; /* data connection */
+ php_socket_t fd; /* data connection */
ftptype_t type; /* transfer type */
char buf[FTP_BUFSIZE]; /* data buffer */
#if HAVE_OPENSSL_EXT
@@ -57,7 +57,7 @@ typedef struct databuf
typedef struct ftpbuf
{
- int fd; /* control connection */
+ php_socket_t fd; /* control connection */
php_sockaddr_storage localaddr; /* local address */
int resp; /* last response code */
char inbuf[FTP_BUFSIZE]; /* last response text */