diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2019-11-22 15:09:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-11-22 16:23:35 +0100 |
commit | db67c9239b0f4866ea37453c015f9684c4267f0f (patch) | |
tree | 3f4903e4ba2f0f1818e92748bec664d2d68ad998 /net | |
parent | 204cff5c192eeb60205c6c33914ed506c529780a (diff) |
WebSocketHandler: allow to build on 32bits systems
Change-Id: Id51df359d9c985e72e9186433ce5dcf98e4199a4
Reviewed-on: https://gerrit.libreoffice.org/83492
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'net')
-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) |