secur32: Sign-compare warning fix

Andrew Talbot andrew.talbot at talbotville.com
Sat Nov 8 09:16:26 CST 2008


Changelog:
    secur32: Sign-compare warning fix.

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-patches mailing list