[Libreoffice-commits] online.git: wsd/LOOLWSD.hpp

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


 wsd/LOOLWSD.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2f893ae0e646f2f89654a3f19fc975fd2639e06
Author:     Corentin Noël <corentin.noel at collabora.com>
AuthorDate: Fri Nov 22 16:50:49 2019 +0100
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri Nov 22 18:48:05 2019 +0100

    Allow ConfigValueGetter to be used with uint64 on 32 bits systems
    
    Change-Id: I5d19c97c6900cea6476e85afd4cfe9885f6c8fa0
    Reviewed-on: https://gerrit.libreoffice.org/83513
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/wsd/LOOLWSD.hpp b/wsd/LOOLWSD.hpp
index 333a6afc1..6e35bd796 100644
--- a/wsd/LOOLWSD.hpp
+++ b/wsd/LOOLWSD.hpp
@@ -234,7 +234,7 @@ private:
 
         void operator()(int& value) { value = _config.getInt(_name); }
         void operator()(unsigned int& value) { value = _config.getUInt(_name); }
-        void operator()(unsigned long& value) { value = _config.getUInt64(_name); }
+        void operator()(uint64_t& value) { value = _config.getUInt64(_name); }
         void operator()(bool& value) { value = _config.getBool(_name); }
         void operator()(std::string& value) { value = _config.getString(_name); }
         void operator()(double& value) { value = _config.getDouble(_name); }


More information about the Libreoffice-commits mailing list