mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
[SERVICES]
Fix an MSVC warning svn path=/trunk/; revision=52719
This commit is contained in:
parent
b38aed5d19
commit
71842f91e6
1 changed files with 8 additions and 8 deletions
|
@ -1602,7 +1602,7 @@ ScmConvertToBootPathName(wchar_t *CanonName, wchar_t **RelativeName)
|
|||
}
|
||||
|
||||
/* Do a real query now */
|
||||
LinkTarget.Length = BufferSize;
|
||||
LinkTarget.Length = (USHORT)BufferSize;
|
||||
LinkTarget.MaximumLength = LinkTarget.Length + sizeof(WCHAR);
|
||||
|
||||
Status = NtQuerySymbolicLinkObject(SymbolicLinkHandle, &LinkTarget, &BufferSize);
|
||||
|
|
Loading…
Reference in a new issue