Commit 40938e66 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix a windows build problem

git-svn-id: file:///svn/toku/tokudb@18954 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3760bac7
...@@ -273,7 +273,7 @@ static void ...@@ -273,7 +273,7 @@ static void
dump_block(int f, BLOCKNUM blocknum, struct brt_header *h) { dump_block(int f, BLOCKNUM blocknum, struct brt_header *h) {
DISKOFF offset, size; DISKOFF offset, size;
toku_translate_blocknum_to_offset_size(h->blocktable, blocknum, &offset, &size); toku_translate_blocknum_to_offset_size(h->blocktable, blocknum, &offset, &size);
printf("%"PRIu64" at %"PRIu64" size %"PRIu64"\n", blocknum.b, offset, size); printf("%"PRId64" at %"PRId64" size %"PRId64"\n", blocknum.b, offset, size);
unsigned char *vp = toku_malloc(size); unsigned char *vp = toku_malloc(size);
u_int64_t r = pread(f, vp, size, offset); u_int64_t r = pread(f, vp, size, offset);
......
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