summaryrefslogtreecommitdiffstats
path: root/registry/source/regimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'registry/source/regimpl.cxx')
-rw-r--r--registry/source/regimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index 6dec181933ea..db665844e502 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -1158,7 +1158,7 @@ RegError ORegistry::mergeModuleValue(OStoreStream& rTargetValue,
RegistryTypeWriter writer(reader.getTypeClass(),
reader.getTypeName(),
reader.getSuperTypeName(),
- (sal_uInt16)count);
+ static_cast<sal_uInt16>(count));
for (sal_uInt32 i=0 ; i < reader.getFieldCount(); i++)
{