diff options
| author | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 13:12:09 +0200 | 
|---|---|---|
| committer | Martin Sustrik <sustrik@250bpm.com> | 2011-05-15 13:12:09 +0200 | 
| commit | 49df2f416cd43e9e18f3dbd964271c5cca835729 (patch) | |
| tree | 815d659e54170a47fd812bc55bbda6b9f0ec7581 /src/tcp_socket.hpp | |
| parent | 49387874efe790713f4a090e03a97212f4889163 (diff) | |
Fixes warning when compiling with MSVC on Win64
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/tcp_socket.hpp')
| -rw-r--r-- | src/tcp_socket.hpp | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/src/tcp_socket.hpp b/src/tcp_socket.hpp index 3312605..4540bf9 100644 --- a/src/tcp_socket.hpp +++ b/src/tcp_socket.hpp @@ -21,6 +21,8 @@  #ifndef __ZMQ_TCP_SOCKET_HPP_INCLUDED__  #define __ZMQ_TCP_SOCKET_HPP_INCLUDED__ +#include <stddef.h> +  #include "fd.hpp"  #include "stdint.hpp" @@ -49,13 +51,13 @@ namespace zmq          //  Writes data to the socket. Returns the number of bytes actually          //  written (even zero is to be considered to be a success). In case          //  of error or orderly shutdown by the other peer -1 is returned. -        int write (const void *data, int size); +        int write (const void *data_, size_t size_);          //  Reads data from the socket (up to 'size' bytes). Returns the number          //  of bytes actually read (even zero is to be considered to be          //  a success). In case of error or orderly shutdown by the other          //  peer -1 is returned. -        int read (void *data, int size); +        int read (void *data_, size_t size_);      private: | 
