summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-05 14:31:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-05 14:31:18 +0100
commite0b4c9a85a7539ef6f62fe3f8012be8df382d7d8 (patch)
tree300d3eb92b54118b9e8ac82e56ebfb0aeb400d9d /include/tools
parent64d5da302226504a522ad3d362cb1852351818cd (diff)
Blind fix for non-MSVC platforms where sal_Int32 is long
Change-Id: Ibf1cc3b678a54ceaf6eb82f0b51fc6082ba1e78d
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/bigint.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tools/bigint.hxx b/include/tools/bigint.hxx
index d94cdb06e946..b8079a2ccd28 100644
--- a/include/tools/bigint.hxx
+++ b/include/tools/bigint.hxx
@@ -71,8 +71,7 @@ public:
{
}
- // despite sal_Int32 being a typedef for int, MSVC won't automatically use the BigInt(sal_Int32) constructor
-#ifdef _WIN32
+#if SAL_TYPES_SIZEOFLONG == 4
BigInt(int nValue)
: nVal(nValue)
, nLen(0)