diff options
author | Wez Furlong <wez@php.net> | 2003-07-01 19:51:06 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-07-01 19:51:06 +0000 |
commit | 17cbf834049da4b24a6d35573e32ec3c232fa54b (patch) | |
tree | 6564de3f9c2b4f2edbbb979e93e072aa54365346 | |
parent | ee9ca6ee9d1ad543ab1fcfbb84f25780efccb6b5 (diff) | |
download | php-git-17cbf834049da4b24a6d35573e32ec3c232fa54b.tar.gz |
size_t -> socklen_t
fixes warnings under macosx
-rw-r--r-- | main/streams/php_stream_transport.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h index 5edea9b0b5..e27e231bdf 100644 --- a/main/streams/php_stream_transport.h +++ b/main/streams/php_stream_transport.h @@ -73,7 +73,7 @@ PHPAPI int php_stream_xport_listen(php_stream *stream, * structure. You must efree either of these if you request them */ PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, char **textaddr, int *textaddrlen, - void **addr, size_t *addrlen, + void **addr, socklen_t *addrlen, struct timeval *timeout, char **error_text TSRMLS_DC); @@ -81,7 +81,7 @@ PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, /* Get the name of either the socket or it's peer */ PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, char **textaddr, int *textaddrlen, - void **addr, size_t *addrlen + void **addr, socklen_t *addrlen TSRMLS_DC); /* Structure definition for the set_option interface that the above functions wrap */ @@ -108,7 +108,7 @@ typedef struct _php_stream_xport_param { php_stream *client; int returncode; struct sockaddr *addr; - size_t addrlen; + socklen_t addrlen; char *textaddr; long textaddrlen; |