mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-09 14:29:20 +00:00
Fix 32-bit compilation
This commit is contained in:
@ -72,7 +72,7 @@ namespace AdvancedHostControllerInterface
|
||||
this->AHCIPortType = Type;
|
||||
this->HBAPortPtr = PortPtr;
|
||||
this->Buffer = static_cast<uint8_t *>(KAPI.Memory.RequestPage(1));
|
||||
memset(this->Buffer, 0, KAPI.Memory.PageSize);
|
||||
memset(this->Buffer, 0, size_t(KAPI.Memory.PageSize));
|
||||
this->PortNumber = PortNumber;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user