mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
[REACTOS] Fix SIZE_T related warnings
This commit is contained in:
parent
826704ba6b
commit
7611cc2b12
21 changed files with 103 additions and 46 deletions
|
@ -67,7 +67,7 @@ LdrpAllocateUnicodeString(IN OUT PUNICODE_STRING StringOut,
|
|||
if (Length != UNICODE_STRING_MAX_BYTES)
|
||||
{
|
||||
/* It's not, so set the maximum length to be one char more */
|
||||
StringOut->MaximumLength = Length + sizeof(UNICODE_NULL);
|
||||
StringOut->MaximumLength = (USHORT)Length + sizeof(UNICODE_NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue