summaryrefslogtreecommitdiff
path: root/registry/source/reflwrit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'registry/source/reflwrit.cxx')
-rw-r--r--registry/source/reflwrit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/reflwrit.cxx b/registry/source/reflwrit.cxx
index 9996284cb4a6..53b6d9d0e175 100644
--- a/registry/source/reflwrit.cxx
+++ b/registry/source/reflwrit.cxx
@@ -830,7 +830,7 @@ void TypeWriter::createBlop()
if (m_fields[i].m_constValueType != RT_TYPE_NONE)
{
- pInfo = new CPInfo((CPInfoTag)m_fields[i].m_constValueType, pInfo);
+ pInfo = new CPInfo(static_cast<CPInfoTag>(m_fields[i].m_constValueType), pInfo);
pInfo->m_value.aConst = m_fields[i].m_constValue;
cpIndexValue = pInfo->m_index;
}