summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-04-15 15:41:58 +0200
committerDavid Tardon <dtardon@redhat.com>2012-04-16 20:22:55 +0200
commitbc9229aa0cbd0c9d47c4f4c54790f3b9de76f2b8 (patch)
treef3ace8ca01f28626b64b4b244df27e5c3fc8df79 /ucb/source
parent46880d2860a0943baee8524bf70c832a802c1612 (diff)
WaE: deprecated conversion from string constant to 'LPSTR'
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/odma/odma_provider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/odma/odma_provider.cxx b/ucb/source/ucp/odma/odma_provider.cxx
index da09d117de8e..f65f619793f4 100644
--- a/ucb/source/ucp/odma/odma_provider.cxx
+++ b/ucb/source/ucp/odma/odma_provider.cxx
@@ -97,7 +97,7 @@ ODMHANDLE ContentProvider::getHandle()
{
if(!m_aOdmHandle)
{
- ODMSTATUS odm = NODMRegisterApp(&m_aOdmHandle,ODM_API_VERSION,ODMA_ODMA_REGNAME,(DWORD) choose_parent_window( ),NULL);
+ ODMSTATUS odm = NODMRegisterApp(&m_aOdmHandle,ODM_API_VERSION,const_cast<char*>(ODMA_ODMA_REGNAME),(DWORD) choose_parent_window( ),NULL);
switch(odm)
{
case ODM_SUCCESS: