sd/source/ui/sidebar/MasterPageObserver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ada297f24bb3aec806d084ecd92234646098eda2 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Mar 20 16:01:29 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Mar 20 19:15:52 2020 +0100 -Werror,-Wvoid-pointer-to-int-cast (LLVM 10 trunk clang-cl) Change-Id: I63d0c782cb7d6ae63eb3350d4d5d0d2db9a45e9d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90802 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sd/source/ui/sidebar/MasterPageObserver.cxx b/sd/source/ui/sidebar/MasterPageObserver.cxx index 28f1938f583d..b103fbaa620c 100644 --- a/sd/source/ui/sidebar/MasterPageObserver.cxx +++ b/sd/source/ui/sidebar/MasterPageObserver.cxx @@ -74,7 +74,7 @@ private: struct DrawDocHash { size_t operator()(SdDrawDocument* argument) const - { return reinterpret_cast<unsigned long>(argument); } + { return reinterpret_cast<sal_uIntPtr>(argument); } }; typedef std::unordered_map<SdDrawDocument*, MasterPageObserver::MasterPageNameSet, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits