Thomas Faber : ntdll/tests: Fix build with MSVC.

Alexandre Julliard julliard at winehq.org
Mon Oct 17 13:08:54 CDT 2011


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

Author: Thomas Faber <thfabba at gmx.de>
Date:   Sun Oct 16 13:18:55 2011 +0200

ntdll/tests: Fix build with MSVC.

---

 dlls/ntdll/tests/string.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c
index 9422d41..802a165 100644
--- a/dlls/ntdll/tests/string.c
+++ b/dlls/ntdll/tests/string.c
@@ -1165,7 +1165,7 @@ static void test_wcslwrupr(void)
     ok(p_wcsupr((LPWSTR)constemptyW) == constemptyW, "p_wcsupr returned different string\n");
 }
 
-static __cdecl int intcomparefunc(const void *a, const void *b)
+static int __cdecl intcomparefunc(const void *a, const void *b)
 {
     const int *p = a, *q = b;
 
@@ -1174,7 +1174,7 @@ static __cdecl int intcomparefunc(const void *a, const void *b)
     return *p - *q;
 }
 
-static __cdecl int charcomparefunc(const void *a, const void *b)
+static int __cdecl charcomparefunc(const void *a, const void *b)
 {
     const char *p = a, *q = b;
 
@@ -1183,7 +1183,7 @@ static __cdecl int charcomparefunc(const void *a, const void *b)
     return *p - *q;
 }
 
-static __cdecl int strcomparefunc(const void *a, const void *b)
+static int __cdecl strcomparefunc(const void *a, const void *b)
 {
     const char * const *p = a;
     const char * const *q = b;




More information about the wine-cvs mailing list