summaryrefslogtreecommitdiff
path: root/include/tools/link.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-12 14:59:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-13 07:50:18 +0100
commita000ee86e676535a07b28cf6a0b8dd9655164e3f (patch)
treed91a834a973a3a5b8b2e22b62728c051fc0c92e5 /include/tools/link.hxx
parent4c0026725cd6485f0024fd305dc35b8948c06e81 (diff)
sal_uIntPtr->char* in Link
Change-Id: I02bad98458ae0c41b4bbc1b4ec79f3f935d4beaa Reviewed-on: https://gerrit.libreoffice.org/46348 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/link.hxx')
-rw-r--r--include/tools/link.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/link.hxx b/include/tools/link.hxx
index 8b65be4755dd..c4989e0593f3 100644
--- a/include/tools/link.hxx
+++ b/include/tools/link.hxx
@@ -88,8 +88,8 @@ public:
bool operator !() const { return !IsSet(); }
bool operator <(Link const & other) const {
- sal_uIntPtr ptr1 = reinterpret_cast<sal_uIntPtr>(function_);
- sal_uIntPtr ptr2 = reinterpret_cast<sal_uIntPtr>(other.function_);
+ char* ptr1 = reinterpret_cast<char*>(function_);
+ char* ptr2 = reinterpret_cast<char*>(other.function_);
if (ptr1 < ptr2)
return true;
else if (ptr1 > ptr2)