diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-24 23:18:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-24 23:18:24 +0200 |
| commit | a7cd9cec31952b932ab80fb50cddec28aab74736 (patch) | |
| tree | 041018e7b337d9f9ceb7d1e651af0a0424b21f8b /src/lib/dcpomatic_socket.h | |
| parent | 73ebb92e9df01ba7afb97121b6e2cef6ca13a18e (diff) | |
Diffstat (limited to 'src/lib/dcpomatic_socket.h')
| -rw-r--r-- | src/lib/dcpomatic_socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcpomatic_socket.h b/src/lib/dcpomatic_socket.h index 1fa0b046f..6f6f8cece 100644 --- a/src/lib/dcpomatic_socket.h +++ b/src/lib/dcpomatic_socket.h @@ -44,9 +44,9 @@ public: void connect (boost::asio::ip::tcp::endpoint); void write (uint32_t n); - void write (uint8_t const * data, int size); + void write (uint8_t const * data, size_t size); - void read (uint8_t* data, int size); + void read (uint8_t* data, size_t size); uint32_t read_uint32 (); class ReadDigestScope |
