From 379443fc63369c0da6f15d0ba91274f6cd32291e Mon Sep 17 00:00:00 2001 From: Maximus32 Date: Thu, 29 Aug 2024 20:00:11 +0200 Subject: [PATCH] Fix debugging --- iop/usb/usbmass_bd/src/scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iop/usb/usbmass_bd/src/scsi.c b/iop/usb/usbmass_bd/src/scsi.c index 42840c616a8..fb53c748f31 100644 --- a/iop/usb/usbmass_bd/src/scsi.c +++ b/iop/usb/usbmass_bd/src/scsi.c @@ -174,7 +174,7 @@ static int scsi_warmup(struct block_device *bd) bd->sectorSize = getBI32(&rcd.block_length); bd->sectorOffset = 0; bd->sectorCount = getBI32(&rcd.last_lba); - M_PRINTF("%u %u-byte logical blocks: (%uMB / %uMiB)\n", bd->sectorCount, bd->sectorSize, bd->sectorCount / ((1000 * 1000) / bd->sectorSize), bd->sectorCount / ((1024 * 1024) / bd->sectorSize)); + M_PRINTF("%u %u-byte logical blocks: (%uMB / %uMiB)\n", (u32)bd->sectorCount, bd->sectorSize, (u32)bd->sectorCount / ((1000 * 1000) / bd->sectorSize), (u32)bd->sectorCount / ((1024 * 1024) / bd->sectorSize)); return 0; }