Dmitry Timoshkov : user32/tests: Fix wsprintf tests compilation with __WINESRC__ defined.

Alexandre Julliard julliard at winehq.org
Thu Oct 24 13:18:55 CDT 2013


Module: wine
Branch: master
Commit: 154df653d669710f2431d1b4d0b25a15ff3efc08
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=154df653d669710f2431d1b4d0b25a15ff3efc08

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Oct 23 14:54:32 2013 +0900

user32/tests: Fix wsprintf tests compilation with __WINESRC__ defined.

---

 dlls/user32/tests/wsprintf.c |    4 ++--
 1 files 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)
 	   {




More information about the wine-cvs mailing list