Skip to content

Commit 2531b49

Browse files
committed
Fix type mismatch.
1 parent 6e164ca commit 2531b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bitcoin/protocol/web/connection.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef std::function<bool(connection_ptr, event, void* data)> event_handler;
5959
class BCP_API connection
6060
{
6161
public:
62-
typedef std::function<int32_t(const uint8_t*, uint32_t)> write_method;
62+
typedef std::function<int32_t(const uint8_t*, size_t)> write_method;
6363

6464
connection();
6565
connection(sock_t connection, const sockaddr_in& address);

0 commit comments

Comments
 (0)