diff options
author | Daniel Beulshausen <dbeu@php.net> | 2001-11-01 20:10:17 +0000 |
---|---|---|
committer | Daniel Beulshausen <dbeu@php.net> | 2001-11-01 20:10:17 +0000 |
commit | 54ca6f05b11f40dc5e9694dc26254d3a8448eb8c (patch) | |
tree | b7044a3632c7a2addca321e8e2d5e1db11265bf4 /ext/sockets/sockets.c | |
parent | d0433b6d1c0346eb82bbc1da53f48a2af08ba006 (diff) | |
download | php-git-54ca6f05b11f40dc5e9694dc26254d3a8448eb8c.tar.gz |
nuke remaining warnings
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r-- | ext/sockets/sockets.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index e74c52aae2..5e685aa6f4 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -1103,9 +1103,9 @@ PHP_FUNCTION(socket_iovec_alloc) Returns the data held in the iovec specified by iovec_id[iovec_position] */ PHP_FUNCTION(socket_iovec_fetch) { - zval *iovec_id; - php_iovec_t *vector; - int iovec_position; + zval *iovec_id; + php_iovec_t *vector; + unsigned int iovec_position; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &iovec_id, &iovec_position) == FAILURE) return; @@ -1125,10 +1125,11 @@ PHP_FUNCTION(socket_iovec_fetch) Sets the data held in iovec_id[iovec_position] to new_val */ PHP_FUNCTION(socket_iovec_set) { - zval *iovec_id; - php_iovec_t *vector; - int iovec_position, new_val_len; - char *new_val; + zval *iovec_id; + php_iovec_t *vector; + int new_val_len; + unsigned int iovec_position; + char *new_val; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rls", &iovec_id, &iovec_position, &new_val, &new_val_len) == FAILURE) return; @@ -1186,7 +1187,7 @@ PHP_FUNCTION(socket_iovec_delete) zval *iovec_id; php_iovec_t *vector; struct iovec *vector_array; - int i, iov_pos; + unsigned int i, iov_pos; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &iovec_id, &iov_pos) == FAILURE) return; |