Francois Gouget : msvcp90: Remove an unneeded cast.

Alexandre Julliard julliard at winehq.org
Mon Nov 14 13:33:59 CST 2011


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Nov 14 12:33:11 2011 +0100

msvcp90: Remove an unneeded cast.

---

 dlls/msvcp90/misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c
index bb3b52b..122c7fa 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -100,7 +100,7 @@ void __cdecl _Lockit_init(int locktype) {
 /* ?_Lockit_dtor at _Lockit@std@@SAXH at Z */
 void __cdecl _Lockit_free(int locktype)
 {
-    lockit_cs[locktype].DebugInfo->Spare[0] = (DWORD_PTR)0;
+    lockit_cs[locktype].DebugInfo->Spare[0] = 0;
     DeleteCriticalSection(&lockit_cs[locktype]);
 }
 




More information about the wine-cvs mailing list