summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r--ext/sockets/sockets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 6d58732d40..17f0c95da8 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -1476,7 +1476,7 @@ PHP_FUNCTION(socket_bind)
struct sockaddr *sock_type = (struct sockaddr*) &sa_storage;
php_socket *php_sock;
char *addr;
- int addr_len;
+ size_t addr_len;
zend_long port = 0;
zend_long retval = 0;
@@ -1602,7 +1602,7 @@ PHP_FUNCTION(socket_send)
{
zval *arg1;
php_socket *php_sock;
- int buf_len, retval;
+ size_t buf_len, retval;
zend_long len, flags;
char *buf;