Commit 99c5d195 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mapi32/tests: Write-strings warning fix.

parent ccf7f077
......@@ -897,7 +897,7 @@ static void test_LpValFindProp(void)
static void test_FBadRglpszA(void)
{
LPSTR lpStrs[4];
char *szString = "A String";
static CHAR szString[] = "A String";
BOOL bRet;
pFBadRglpszA = (void*)GetProcAddress(hMapi32, "FBadRglpszA@8");
......@@ -922,7 +922,7 @@ static void test_FBadRglpszA(void)
static void test_FBadRglpszW(void)
{
LPWSTR lpStrs[4];
WCHAR szString[] = { 'A',' ','S','t','r','i','n','g','\0' };
static WCHAR szString[] = { 'A',' ','S','t','r','i','n','g','\0' };
BOOL bRet;
pFBadRglpszW = (void*)GetProcAddress(hMapi32, "FBadRglpszW@8");
......@@ -1005,7 +1005,7 @@ static void test_FBadRow(void)
static void test_FBadProp(void)
{
WCHAR szEmpty[] = { '\0' };
static WCHAR szEmpty[] = { '\0' };
GUID iid;
ULONG pt, res;
SPropValue pv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment