summaryrefslogtreecommitdiff
path: root/registry/source/reflwrit.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:04:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:04:11 +0100
commit6f58d7a12e4acaad59a00df345591ac5ce552cbe (patch)
tree7272fdf0bcf3ce2a366fd34fb5138ff8f25e4539 /registry/source/reflwrit.cxx
parent3ffa72253ba027460232a6aeded8007ad029d125 (diff)
More loplugin:cstylecast: registry
Change-Id: I2c9436f5f9ea5ef3051d22310dee48ec39fad850
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;
}