mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[ISAPNP] Fix the truncation of 32-bit configuration I/O reads
CORE-18562
This commit is contained in:
parent
b36d9bd9c1
commit
991dbeff53
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ ReadDoubleWord(
|
||||||
_In_ PUCHAR ReadDataPort,
|
_In_ PUCHAR ReadDataPort,
|
||||||
_In_ UCHAR Address)
|
_In_ UCHAR Address)
|
||||||
{
|
{
|
||||||
return ((ReadWord(ReadDataPort, Address) << 8) |
|
return ((ReadWord(ReadDataPort, Address) << 16) |
|
||||||
(ReadWord(ReadDataPort, Address + 2)));
|
(ReadWord(ReadDataPort, Address + 2)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue