Commit 40c39c7f authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

More 64-bit portability

git-svn-id: file:///svn/tokudb@72 c7de825b-a66e-492c-adef-691d508d4ae1
parent 658a352c
......@@ -176,7 +176,7 @@ void serialize_brtnode_to(int fd, diskoff off, diskoff size, BRTNODE node) {
assert(w.ndone<=w.size);
{
ssize_t r=pwrite(fd, w.buf, w.ndone, off);
if (r<0) printf("r=%ld errno=%d\n", r, errno);
if (r<0) printf("r=%ld errno=%d\n", (long)r, errno);
assert((size_t)r==w.ndone);
}
......
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