diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 14:03:30 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:50 +0100 |
commit | c79f0398f6e67fb5aab5b37c582bd1efc9ab0d79 (patch) | |
tree | c8f4adc5f1fc1663f1b49f3ddd8dad37d6d1248f /shell | |
parent | WaE: deprecated conversion from string constant to 'char*' (diff) | |
download | core-c79f0398f6e67fb5aab5b37c582bd1efc9ab0d79.tar.gz core-c79f0398f6e67fb5aab5b37c582bd1efc9ab0d79.zip |
WaE: deprecated conversion from string constant to 'LPSTR'
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/simplemail/senddoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx index 29e374f6b64e..c7f623dbd541 100644 --- a/shell/source/win32/simplemail/senddoc.cxx +++ b/shell/source/win32/simplemail/senddoc.cxx @@ -155,7 +155,7 @@ void initMapiOriginator(MapiRecipDesc* pMapiOriginator) ZeroMemory(pMapiOriginator, sizeof(MapiRecipDesc)); pMapiOriginator->ulRecipClass = MAPI_ORIG; - pMapiOriginator->lpszName = ""; + pMapiOriginator->lpszName = const_cast<char*>(""); pMapiOriginator->lpszAddress = const_cast<char*>(gFrom.c_str()); } |