Commit b3c2a3a4 authored by Ben Collins's avatar Ben Collins

[IDE]: Fix compilation warning

parent 672ab41e
......@@ -1605,8 +1605,8 @@ static void idedisk_setup (ide_drive_t *drive)
if (drive->addressing == 0 && drive->capacity64 > 1ULL << 28) {
printk("%s: cannot use LBA48 - full capacity "
"%llu sectors (%llu MB)\n",
drive->name,
drive->capacity64, sectors_to_MB(drive->capacity64));
drive->name, (unsigned long long)drive->capacity64,
sectors_to_MB(drive->capacity64));
drive->capacity64 = 1ULL << 28;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment