X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FStorage%2FATA%2Fmain.c;h=94ee8a5a2f15f1ec7ef7d64b66edeefd755b5b2c;hb=3d16754198031c1fe2e5b012f7313aff4261ec2a;hp=7c1b3a867d53c701e769dcb37c8aa6bf2676446b;hpb=54f893f1c1091d5f0bef8458585300e44beb7e81;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 {