Francois Gouget : netapi32: Remove unneeded casts of zero.

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:19 CST 2008


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  8 09:26:56 2008 +0100

netapi32: Remove unneeded casts of zero.

---

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

diff --git a/dlls/netapi32/wksta.c b/dlls/netapi32/wksta.c
index 85a3368..7b39fd9 100644
--- a/dlls/netapi32/wksta.c
+++ b/dlls/netapi32/wksta.c
@@ -98,7 +98,7 @@ static void wprint_mac(WCHAR* buffer, int len, const MIB_IFROW *ifRow)
         else
             buffer[2*i+1] = (WCHAR)((val & 0xf) + '0');
     }
-    buffer[2*i]=(WCHAR)0;
+    buffer[2*i]=0;
 }
 
 /* Theoretically this could be too short, except that MS defines




More information about the wine-cvs mailing list