Andrew Talbot : secur32: Sign-compare warning fix.

Alexandre Julliard julliard at winehq.org
Mon Nov 10 07:44:00 CST 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Nov  8 15:16:26 2008 +0000

secur32: Sign-compare warning fix.

---

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

diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c
index 27e0263..f194ab7 100644
--- a/dlls/secur32/secur32.c
+++ b/dlls/secur32/secur32.c
@@ -987,7 +987,7 @@ BOOLEAN WINAPI GetComputerObjectNameW(
                 DWORD size = sizeof(name)/sizeof(name[0]);
                 if (GetComputerNameW(name, &size))
                 {
-                    int len = domainInfo->Name.Length + size + 3;
+                    DWORD len = domainInfo->Name.Length + size + 3;
                     if (lpNameBuffer)
                     {
                         if (*nSize < len)




More information about the wine-cvs mailing list