diff options
Diffstat (limited to 'idlc/source/astenum.cxx')
-rw-r--r-- | idlc/source/astenum.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx index 32f813803c6e..51a48f06282e 100644 --- a/idlc/source/astenum.cxx +++ b/idlc/source/astenum.cxx @@ -92,7 +92,7 @@ bool AstEnum::dump(RegistryKey& rKey) void const * pBlob = aBlob.getBlob(&aBlobSize); if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY, - (RegValue)pBlob, aBlobSize)) + const_cast<RegValue>(pBlob), aBlobSize)) { fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n", idlc()->getOptions()->getProgramName().getStr(), |