[Libreoffice-commits] online.git: net/WebSocketHandler.hpp

Corentin Noël (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 22 15:23:54 UTC 2019


 net/WebSocketHandler.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db67c9239b0f4866ea37453c015f9684c4267f0f
Author:     Corentin Noël <corentin.noel at collabora.com>
AuthorDate: Fri Nov 22 15:09:16 2019 +0100
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri Nov 22 16:23:35 2019 +0100

    WebSocketHandler: allow to build on 32bits systems
    
    Change-Id: Id51df359d9c985e72e9186433ce5dcf98e4199a4
    Reviewed-on: https://gerrit.libreoffice.org/83492
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

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)


More information about the Libreoffice-commits mailing list