Commit f3972520 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

secur32: Sign-compare warning fix.

parent c44dcda1
...@@ -987,7 +987,7 @@ BOOLEAN WINAPI GetComputerObjectNameW( ...@@ -987,7 +987,7 @@ BOOLEAN WINAPI GetComputerObjectNameW(
DWORD size = sizeof(name)/sizeof(name[0]); DWORD size = sizeof(name)/sizeof(name[0]);
if (GetComputerNameW(name, &size)) if (GetComputerNameW(name, &size))
{ {
int len = domainInfo->Name.Length + size + 3; DWORD len = domainInfo->Name.Length + size + 3;
if (lpNameBuffer) if (lpNameBuffer)
{ {
if (*nSize < len) if (*nSize < len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment