include/tools/bigint.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit e0b4c9a85a7539ef6f62fe3f8012be8df382d7d8 Author: Stephan Bergmann <sberg...@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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits