diff options
-rw-r--r-- | net/WebSocketHandler.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/WebSocketHandler.hpp b/net/WebSocketHandler.hpp index f37d459a2..1d24fa26a 100644 --- a/net/WebSocketHandler.hpp +++ b/net/WebSocketHandler.hpp @@ -524,7 +524,7 @@ private: /// Returns the number of bytes written (including frame overhead) on success, /// 0 for closed/invalid socket, and -1 for other errors. int sendFrame(const std::shared_ptr<StreamSocket>& socket, - const char* data, const size_t len, + const char* data, const uint64_t len, unsigned char flags, const bool flush = true) const { if (!socket || data == nullptr || len == 0) |