summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-08-09 11:30:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-08-10 13:40:09 +0200
commitca550863f7d2e650116582dee298388ea3a97725 (patch)
tree40b6f15a1f1463eb342355a3f344d92deb3cf17a /include/vcl
parent59341a78e42106fe8c4d1ba8298bd040e2fad9c7 (diff)
Better cast to sal_[u]IntPtr when passing pointer to O[U]String::number
Change-Id: I5b7a0fa060c1e0ae4aa194e0c1862f303dd8a2d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138062 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/weld.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 1ffa2d877408..b3bbe60a7390 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -654,7 +654,7 @@ public:
inline OUString toId(const void* pValue)
{
- return OUString::number(reinterpret_cast<sal_uInt64>(pValue));
+ return OUString::number(reinterpret_cast<sal_uIntPtr>(pValue));
}
template <typename T> T fromId(const OUString& rValue)