Commit f48cbb7f authored by Yoni Fogel's avatar Yoni Fogel

PRId64 error fixed

git-svn-id: file:///svn/tokudb@2138 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1e2aaf51
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
#include <inttypes.h>
#include "key.h" #include "key.h"
#include "brt-internal.h" #include "brt-internal.h"
...@@ -51,7 +51,7 @@ void dump_node (int f, DISKOFF off, struct brt_header *h) { ...@@ -51,7 +51,7 @@ void dump_node (int f, DISKOFF off, struct brt_header *h) {
printf(" nodesize =%u\n", n->nodesize); printf(" nodesize =%u\n", n->nodesize);
printf(" flags =%u\n", n->flags); printf(" flags =%u\n", n->flags);
printf(" thisnodename=%lld\n", n->thisnodename); printf(" thisnodename=%lld\n", n->thisnodename);
printf(" disk_lsn =%lld\n", n->disk_lsn.lsn); printf(" disk_lsn =%" PRId64 "\n", n->disk_lsn.lsn);
//printf(" log_lsn =%lld\n", n->log_lsn.lsn); // The log_lsn is a memory-only value. //printf(" log_lsn =%lld\n", n->log_lsn.lsn); // The log_lsn is a memory-only value.
printf(" height =%d\n", n->height); printf(" height =%d\n", n->height);
printf(" rand4fp =%08x\n", n->rand4fingerprint); printf(" rand4fp =%08x\n", n->rand4fingerprint);
...@@ -90,7 +90,7 @@ void dump_node (int f, DISKOFF off, struct brt_header *h) { ...@@ -90,7 +90,7 @@ void dump_node (int f, DISKOFF off, struct brt_header *h) {
} }
printf("HUH?"); printf("HUH?");
ok: ok:
printf(" xid=%lld ", xid); printf(" xid=%"PRId64" ", xid);
print_item(key, keylen); print_item(key, keylen);
if (datalen>0) { if (datalen>0) {
printf(" "); printf(" ");
......
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