git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23209
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (nAttachmentSize)
{
#ifdef UNICODE
if (nAttachmentSize)
{
#ifdef UNICODE
- for (int i = 0;i < nAttachmentSize;i++)
+ for (i = 0;i < nAttachmentSize;i++)
{
free(mapiMessage.lpFiles[i].lpszPathName);
free(mapiMessage.lpFiles[i].lpszFileName);
{
free(mapiMessage.lpFiles[i].lpszPathName);
free(mapiMessage.lpFiles[i].lpszFileName);
//Free up the Recipients and Originator memory
#ifdef UNICODE
//Free up the Recipients and Originator memory
#ifdef UNICODE
- for (int i = 0;i < nRecipIndex;i++)
+ for (i = 0;i < nRecipIndex;i++)
free(mapiMessage.lpRecips[i].lpszName);
#endif
delete [] mapiMessage.lpRecips;
free(mapiMessage.lpRecips[i].lpszName);
#endif
delete [] mapiMessage.lpRecips;