X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FATA%2Fmain.c;fp=KernelLand%2FModules%2FStorage%2FATA%2Fmain.c;h=050faad1e8af0372c60f18d2a666475388559848;hb=d69e48450c7ea4be4a82c351b2d5dd0de3fc6241;hp=a131a445ea7839589d4323bb876c8c31488e65a1;hpb=9c8b7750be573fbe40bdb3dc4c2a9a5390970b39;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/ATA/main.c b/KernelLand/Modules/Storage/ATA/main.c index a131a445..050faad1 100644 --- a/KernelLand/Modules/Storage/ATA/main.c +++ b/KernelLand/Modules/Storage/ATA/main.c @@ -122,7 +122,7 @@ int ATA_ScanDisk(int Disk) /** * \fn Uint ATA_ReadRaw(Uint64 Address, Uint Count, void *Buffer, Uint Disk) */ -int ATA_ReadRaw(void *Ptr, Uint64 Address, Uint Count, void *Buffer) +int ATA_ReadRaw(void *Ptr, Uint64 Address, size_t Count, void *Buffer) { int Disk = (tVAddr)Ptr; int ret; @@ -160,7 +160,7 @@ int ATA_ReadRaw(void *Ptr, Uint64 Address, Uint Count, void *Buffer) /** * \fn Uint ATA_WriteRaw(Uint64 Address, Uint Count, const void *Buffer, Uint Disk) */ -int ATA_WriteRaw(void *Ptr, Uint64 Address, Uint Count, const void *Buffer) +int ATA_WriteRaw(void *Ptr, Uint64 Address, size_t Count, const void *Buffer) { int Disk = (tVAddr)Ptr; int ret;