Use some long long casts to quiet warnings in debug printf's on alpha.

This commit is contained in:
jhb 2002-11-06 19:52:13 +00:00
parent 6c4cc56664
commit 59eda164d2
2 changed files with 3 additions and 2 deletions

View File

@ -1009,7 +1009,7 @@ ata_command(struct ata_device *atadev, u_int8_t command,
ata_prtdev(atadev, "ata_command: addr=%04lx, cmd=%02x, "
"lba=%lld, count=%d, feature=%d, flags=%02x\n",
rman_get_start(atadev->channel->r_io),
command, lba, count, feature, flags);
command, (long long)lba, count, feature, flags);
#endif
/* select device */

View File

@ -291,7 +291,8 @@ astclose(dev_t dev, int flags, int fmt, struct thread *td)
stp->flags &= F_CTL_WARN;
#ifdef AST_DEBUG
ata_prtdev(stp->device, "%llu total bytes transferred\n", ast_total);
ata_prtdev(stp->device, "%llu total bytes transferred\n",
(unsigned long long)ast_total);
#endif
return 0;
}