diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-08 17:23:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-08 17:25:15 +0100 |
commit | 522563d79a81afc9a24e8a9f9b8f1bc763726180 (patch) | |
tree | 01fbb798e50e6b2c5eaa73048d9ee041eb53ffc0 /include | |
parent | 00205f178f4c1edfc2201fa298e7335ca3dd7b44 (diff) |
Sane SvStream* fake pointer values for 64-bit platforms
cf. <https://gerrit.libreoffice.org/#/c/13659/3> "Signed/Unsigned mismatch on
x86_64 platform on windows"
Change-Id: Ie526ee431f59be374d61fe8c38bdf2a579a7234b
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/grfmgr.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index 88e6b452f33c..607ecb5c01b6 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -33,9 +33,9 @@ // AutoSwap defines #define GRFMGR_AUTOSWAPSTREAM_LINK (reinterpret_cast<SvStream*>(0x00000000UL)) -#define GRFMGR_AUTOSWAPSTREAM_LOADED (reinterpret_cast<SvStream*>(0xfffffffdUL)) -#define GRFMGR_AUTOSWAPSTREAM_TEMP (reinterpret_cast<SvStream*>(0xfffffffeUL)) -#define GRFMGR_AUTOSWAPSTREAM_NONE (reinterpret_cast<SvStream*>(0xffffffffUL)) +#define GRFMGR_AUTOSWAPSTREAM_LOADED reinterpret_cast<SvStream*>(sal_IntPtr(-3)) +#define GRFMGR_AUTOSWAPSTREAM_TEMP reinterpret_cast<SvStream*>(sal_IntPtr(-2)) +#define GRFMGR_AUTOSWAPSTREAM_NONE reinterpret_cast<SvStream*>(sal_IntPtr(-1)) // Adjustment defines |