msvcrt: Fix the calling convention of _wsearchenv() and _wspawnv*().

Francois Gouget fgouget at free.fr
Sun Oct 14 07:35:36 CDT 2007


---

Found by winapi_check.

 dlls/msvcrt/msvcrt.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 5711946..6e7504a 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -552,17 +552,17 @@
 @ cdecl _wrename(wstr wstr)
 @ cdecl _write(long ptr long) MSVCRT__write
 @ cdecl _wrmdir(wstr)
-@ stdcall _wsearchenv(wstr wstr ptr)
+@ cdecl _wsearchenv(wstr wstr ptr)
 @ cdecl _wsetlocale(long wstr) MSVCRT__wsetlocale
 @ varargs _wsopen (wstr long long) MSVCRT__wsopen
 @ stub _wspawnl #(long wstr wstr) varargs
 @ stub _wspawnle #(long wstr wstr) varargs
 @ stub _wspawnlp #(long wstr wstr) varargs
 @ stub _wspawnlpe #(long wstr wstr) varargs
-@ stdcall _wspawnv(long wstr ptr)
-@ stdcall _wspawnve(long wstr ptr ptr)
-@ stdcall _wspawnvp(long wstr ptr)
-@ stdcall _wspawnvpe(long wstr ptr ptr)
+@ cdecl _wspawnv(long wstr ptr)
+@ cdecl _wspawnve(long wstr ptr ptr)
+@ cdecl _wspawnvp(long wstr ptr)
+@ cdecl _wspawnvpe(long wstr ptr ptr)
 @ cdecl _wsplitpath(wstr wstr wstr wstr wstr)
 @ cdecl _wstat(wstr ptr) MSVCRT__wstat
 @ cdecl _wstati64(wstr ptr) MSVCRT__wstati64
-- 
1.5.3.2




More information about the wine-patches mailing list