Commit 844ba8cf authored by Rich Prohaska's avatar Rich Prohaska

fix 64 bit compile

git-svn-id: file:///svn/tokudb@1482 c7de825b-a66e-492c-adef-691d508d4ae1
parent aed37ec5
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <inttypes.h>
#include "log_header.h" #include "log_header.h"
#include "log-internal.h" #include "log-internal.h"
...@@ -110,7 +111,7 @@ static void toku_recover_newbrtnode (struct logtype_newbrtnode *c) { ...@@ -110,7 +111,7 @@ static void toku_recover_newbrtnode (struct logtype_newbrtnode *c) {
TAGMALLOC(BRTNODE, n); TAGMALLOC(BRTNODE, n);
n->nodesize = c->nodesize; n->nodesize = c->nodesize;
n->thisnodename = c->diskoff; n->thisnodename = c->diskoff;
n->log_lsn = n->disk_lsn = c->lsn; printf("%s:%d %p->disk_lsn=%lld\n", __FILE__, __LINE__, n, n->disk_lsn.lsn); n->log_lsn = n->disk_lsn = c->lsn; printf("%s:%d %p->disk_lsn=%"PRId64"\n", __FILE__, __LINE__, n, n->disk_lsn.lsn);
n->layout_version = 0; n->layout_version = 0;
n->parent_brtnode = 0; n->parent_brtnode = 0;
n->height = c->height; n->height = c->height;
......
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