diff options
-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()); } |