summaryrefslogtreecommitdiff
path: root/main/streams/php_stream_transport.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-24 10:09:46 +0200
committerAnatol Belski <ab@php.net>2014-10-24 20:50:01 +0200
commitff02a1416eeeffd593e2878b6e2a7ee30d28beb0 (patch)
treefbdfbe3435c2b669ff2114c09fcebcffc57adb20 /main/streams/php_stream_transport.h
parent4cb58a39369485dffe360b3220f51c95732419e9 (diff)
downloadphp-git-ff02a1416eeeffd593e2878b6e2a7ee30d28beb0.tar.gz
fix datatype mismatches
Diffstat (limited to 'main/streams/php_stream_transport.h')
-rw-r--r--main/streams/php_stream_transport.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h
index 9674314c49..2d076064cf 100644
--- a/main/streams/php_stream_transport.h
+++ b/main/streams/php_stream_transport.h
@@ -101,13 +101,13 @@ enum php_stream_xport_send_recv_flags {
/* Similar to recv() system call; read data from the stream, optionally
* peeking, optionally retrieving OOB data */
PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen,
- long flags, void **addr, socklen_t *addrlen,
+ int flags, void **addr, socklen_t *addrlen,
zend_string **textaddr TSRMLS_DC);
/* Similar to send() system call; send data to the stream, optionally
* sending it as OOB data */
PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen,
- long flags, void *addr, socklen_t addrlen TSRMLS_DC);
+ int flags, void *addr, socklen_t addrlen TSRMLS_DC);
typedef enum {
STREAM_SHUT_RD,
@@ -146,9 +146,9 @@ typedef struct _php_stream_xport_param {
struct sockaddr *addr;
char *buf;
size_t buflen;
- zend_long flags;
socklen_t addrlen;
int backlog;
+ int flags;
} inputs;
struct {
php_stream *client;