mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:03:02 +00:00
[VIDEOPRT] Fix RtlCopyMemory sizeof usage
Spotted by GCC8
This commit is contained in:
parent
4193b8d8ac
commit
09abc443b1
1 changed files with 2 additions and 2 deletions
|
@ -399,7 +399,7 @@ VideoPortInt10(
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Copy arguments to other format */
|
/* Copy arguments to other format */
|
||||||
RtlCopyMemory(&Int10BiosArguments, BiosArguments, sizeof(BiosArguments));
|
RtlCopyMemory(&Int10BiosArguments, BiosArguments, sizeof(*BiosArguments));
|
||||||
Int10BiosArguments.SegDs = 0;
|
Int10BiosArguments.SegDs = 0;
|
||||||
Int10BiosArguments.SegEs = 0;
|
Int10BiosArguments.SegEs = 0;
|
||||||
|
|
||||||
|
@ -407,7 +407,7 @@ VideoPortInt10(
|
||||||
Status = IntInt10CallBios(NULL, &Int10BiosArguments);
|
Status = IntInt10CallBios(NULL, &Int10BiosArguments);
|
||||||
|
|
||||||
/* Copy results back */
|
/* Copy results back */
|
||||||
RtlCopyMemory(BiosArguments, &Int10BiosArguments, sizeof(BiosArguments));
|
RtlCopyMemory(BiosArguments, &Int10BiosArguments, sizeof(*BiosArguments));
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue