Commit 2d4f7748 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix icc compile issues. addresses #1195

git-svn-id: file:///svn/toku/tokudb.1195@7703 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0489447a
...@@ -293,9 +293,9 @@ main (int argc, const char *argv[]) { ...@@ -293,9 +293,9 @@ main (int argc, const char *argv[]) {
BLOCKNUM blocknum; BLOCKNUM blocknum;
printf("Block translation:"); printf("Block translation:");
for (blocknum.b=0; blocknum.b<h->unused_blocks.b; blocknum.b++) { for (blocknum.b=0; blocknum.b<h->unused_blocks.b; blocknum.b++) {
printf(" %" PRIu64 ":", blocknum.b); printf(" %" PRId64 ":", blocknum.b);
if (h->block_translation[blocknum.b].size == -1) printf("free"); if (h->block_translation[blocknum.b].size == -1) printf("free");
else printf("%" PRIu64 ":%" PRIu64, h->block_translation[blocknum.b].diskoff, h->block_translation[blocknum.b].size); else printf("%" PRId64 ":%" PRId64, h->block_translation[blocknum.b].diskoff, h->block_translation[blocknum.b].size);
} }
for (blocknum.b=1; blocknum.b<h->unused_blocks.b; blocknum.b++) { for (blocknum.b=1; blocknum.b<h->unused_blocks.b; blocknum.b++) {
if (h->block_translation[blocknum.b].size != -1) if (h->block_translation[blocknum.b].size != -1)
......
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