[REACTOS] Fix warning C4146: unary minus operator applied to unsigned type, result still unsigned

This commit is contained in:
Timo Kreuzer 2019-05-26 13:37:31 +02:00
parent 64e182e429
commit 08c6d21e1f
6 changed files with 8 additions and 8 deletions

View file

@ -809,7 +809,7 @@ CSR_API(BaseSrvDefineDosDevice)
/* There's a target provided - new device, update buffer */
else
{
RtlInitUnicodeString(&LinkTarget, &CurrentBuffer[-TargetLength - 1]);
RtlInitUnicodeString(&LinkTarget, CurrentBuffer - TargetLength - 1);
}
/*