Module: wine Branch: refs/heads/master Commit: 99c5d1957ab9e58cceb482029376898fc5b94417 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=99c5d1957ab9e58cceb48202...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Thu Jul 27 22:47:09 2006 +0100
mapi32/tests: Write-strings warning fix.
---
dlls/mapi32/tests/prop.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mapi32/tests/prop.c b/dlls/mapi32/tests/prop.c index 0e4edf0..061d7d1 100644 --- a/dlls/mapi32/tests/prop.c +++ b/dlls/mapi32/tests/prop.c @@ -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;