[Libreoffice-commits] core.git: include/tools
Stephan Bergmann
sbergman at redhat.com
Fri Jan 5 13:32:00 UTC 2018
include/tools/bigint.hxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit e0b4c9a85a7539ef6f62fe3f8012be8df382d7d8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 5 14:31:18 2018 +0100
Blind fix for non-MSVC platforms where sal_Int32 is long
Change-Id: Ibf1cc3b678a54ceaf6eb82f0b51fc6082ba1e78d
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)
More information about the Libreoffice-commits
mailing list