[REACTOS] Fix SIZE_T related warnings

This commit is contained in:
Timo Kreuzer 2019-05-26 15:00:21 +02:00
parent 826704ba6b
commit 7611cc2b12
21 changed files with 103 additions and 46 deletions

View file

@ -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
{