[PATCH] blkrawverify: cast __u64 to unsigned long long for printing
authorJens Axboe <axboe@suse.de>
Sat, 28 Jan 2006 19:06:28 +0000 (20:06 +0100)
committerJens Axboe <axboe@suse.de>
Sat, 28 Jan 2006 19:06:28 +0000 (20:06 +0100)
blkrawverify.c

index 88d91a5c9d85057c68a5b3f29d8049a928e17927..79fa56778d488ffe061e34f0a159d09cf9cf2536 100644 (file)
@@ -101,8 +101,8 @@ static void dump_trace(FILE *ofp, char *prefix, struct blk_io_trace *bit)
        fprintf(ofp, "    Dump %s\n", prefix);
        fprintf(ofp, "        %8s: %08x\n", "magic", bit->magic);
        fprintf(ofp, "        %8s: %u\n", "sequence", bit->sequence);
-       fprintf(ofp, "        %8s: %llu\n", "time", bit->time);
-       fprintf(ofp, "        %8s: %llu\n", "sector", bit->sector);
+       fprintf(ofp, "        %8s: %llu\n", "time", (unsigned long long) bit->time);
+       fprintf(ofp, "        %8s: %llu\n", "sector", (unsigned long long) bit->sector);
        fprintf(ofp, "        %8s: %u\n", "bytes", bit->bytes);
        fprintf(ofp, "        %8s: %s\n", "action", act_to_str(bit->action));
        fprintf(ofp, "        %8s: %u\n", "bytes", bit->bytes);