mirror of
https://github.com/reactos/reactos.git
synced 2025-08-09 19:15:03 +00:00
[REACTOS] Fix warning C4146: unary minus operator applied to unsigned type, result still unsigned
This commit is contained in:
parent
64e182e429
commit
08c6d21e1f
6 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue