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=94ee8a5a2f15f1ec7ef7d64b66edeefd755b5b2c;hb=9d764e5e859b19385173bf0f45dee9f4713aa889;hp=7c1b3a867d53c701e769dcb37c8aa6bf2676446b;hpb=00261f74aca198568e8664d89e30f6cb04785bc2;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Storage/ATA/main.c b/KernelLand/Modules/Storage/ATA/main.c index 7c1b3a86..94ee8a5a 100644 --- a/KernelLand/Modules/Storage/ATA/main.c +++ b/KernelLand/Modules/Storage/ATA/main.c @@ -105,7 +105,7 @@ int ATA_ScanDisk(int Disk) char name[] = "ata0"; sprintf(name, "ata%i", Disk); - LVM_AddVolume(&gATA_VolType, name, (void*)(Uint*)Disk, 512, sector_count); + LVM_AddVolume(&gATA_VolType, name, (void*)(Uint)Disk, 512, sector_count); #if DEBUG >= 2 {