summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-23 13:13:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-23 13:13:39 +0100
commit3b513aefa49ecc98800ff129360f04bda8405a11 (patch)
treeefc65118346e43140713020cb052e4d7e5fd1a7b /basic
parentdaa20dcadfcfc7a8d16cddc7f5a08bf3e0a5c644 (diff)
tdf#86543: reinterpret_cast -1 of appropriate width as special marker
Change-Id: Idf0d2a77a78e0e8fcbf435984b9b8f4393e4c207
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/ddectrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx
index 232008a4d953..56603d139c9e 100644
--- a/basic/source/runtime/ddectrl.cxx
+++ b/basic/source/runtime/ddectrl.cxx
@@ -22,7 +22,7 @@
#include "ddectrl.hxx"
#include <basic/sberrors.hxx>
-#define DDE_FREECHANNEL (reinterpret_cast<DdeConnection*>(0xffffffff))
+#define DDE_FREECHANNEL (reinterpret_cast<DdeConnection*>(sal_IntPtr(-1)))
#define DDE_FIRSTERR 0x4000
#define DDE_LASTERR 0x4011