summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-14 16:47:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-14 16:47:38 +0100
commitc31b6e1a154d3bf94b5346343104cbc00378e51d (patch)
treed69266e96c701a11daa8c99a1969f8f862945c18 /unotools
parent6be05a082543acb0e8005f369551157a8a99f242 (diff)
Silence warning C4334 under --enble-64-bit MSVC
("'<<' : result of 32-bit shift implicitly converted to 64 bits") Change-Id: I738fe94ec559e2a35ffc32fb91c22c06094cff9f
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/fontcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index d3434500769e..2b5105a26f78 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -1004,7 +1004,7 @@ ImplFontAttrs FontSubstConfiguration::getSubstType( const css::uno::Reference< X
for( int k = 0; k < 32; k++ )
if( aToken.equalsIgnoreAsciiCaseAscii( pAttribNames[k] ) )
{
- type |= 1UL << k;
+ type |= sal_uLong(1) << k;
break;
}
}