summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-03-20 16:01:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-03-20 19:15:52 +0100
commitada297f24bb3aec806d084ecd92234646098eda2 (patch)
treef72c2a10ba7c4a8f95f47630d66171bc835b0c4f /sd
parentfc8047e78409328a2581e45090b5f3895360558c (diff)
-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 <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/sidebar/MasterPageObserver.cxx2
1 files changed, 1 insertions, 1 deletions
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,