Kaydet (Commit) a000ee86 authored tarafından Noel Grandin's avatar Noel Grandin

sal_uIntPtr->char* in Link

Change-Id: I02bad98458ae0c41b4bbc1b4ec79f3f935d4beaa
Reviewed-on: https://gerrit.libreoffice.org/46348Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 4c002672
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment