summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorMike Frysinger2006-05-11 02:31:45 +0000
committerMike Frysinger2006-05-11 02:31:45 +0000
commite92923862eff5fde9d93feec6cd9efbab6b87d94 (patch)
tree7e60aa6a969e98d693ff9a6269963070ccf21efe /miscutils
parent49f6afc0a0109cab1d326fc86c162b6c864dc271 (diff)
downloadbusybox-e92923862eff5fde9d93feec6cd9efbab6b87d94.zip
busybox-e92923862eff5fde9d93feec6cd9efbab6b87d94.tar.gz
typecast bbig to kill format warnings
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/hdparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 3c0bcc9..5b51f71d 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -892,14 +892,14 @@ static void identify(uint16_t *id_supplied)
(uint64_t)val[LBA_48_MSB] << 32 |
(uint64_t)val[LBA_MID] << 16 |
val[LBA_LSB] ;
- printf("\tLBA48 user addressable sectors:%11llu\n",bbbig);
+ printf("\tLBA48 user addressable sectors:%11llu\n",(long long unsigned int)bbbig);
}
if (!bbbig)
bbbig = (uint64_t)(ll>mm ? ll : mm); /* # 512 byte blocks */
- printf("\tdevice size with M = 1024*1024: %11llu MBytes\n",bbbig>>11);
+ printf("\tdevice size with M = 1024*1024: %11llu MBytes\n",(long long unsigned int)(bbbig>>11));
bbbig = (bbbig<<9)/1000000;
- printf("\tdevice size with M = 1000*1000: %11llu MBytes ",bbbig);
+ printf("\tdevice size with M = 1000*1000: %11llu MBytes ",(long long unsigned int)bbbig);
if_else_printf((bbbig > 1000),"(%llu GB)\n","\n",bbbig/1000);