[22/23] user32/tests: Fix wsprintf tests compilation with __WINESRC__ defined.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Oct 23 00:54:32 CDT 2013
---
dlls/user32/tests/wsprintf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/wsprintf.c b/dlls/user32/tests/wsprintf.c
index 5370df4..b7e755b 100644
--- a/dlls/user32/tests/wsprintf.c
+++ b/dlls/user32/tests/wsprintf.c
@@ -118,7 +118,7 @@ static void CharUpperTest(void)
failed = 0;
for (i=0;i<256;i++)
{
- out = (INT_PTR)CharUpper((LPTSTR)i);
+ out = (INT_PTR)CharUpperA((LPSTR)i);
/* printf("%0x ",out); */
if ((out >> 16) != 0)
{
@@ -136,7 +136,7 @@ static void CharLowerTest(void)
failed = 0;
for (i=0;i<256;i++)
{
- out = (INT_PTR)CharLower((LPTSTR)i);
+ out = (INT_PTR)CharLowerA((LPSTR)i);
/* printf("%0x ",out); */
if ((out >> 16) != 0)
{
--
1.8.4.1
More information about the wine-patches
mailing list