Commit 24d7cbe1 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Ensure TokuDB compiles both on Linux and OS X

On OS X, (u)int64_t is defined as (unsigned) long long int while on 74
bit Linux it is defined as (unsigned) long int.

Ensure the type matches when doing printf on all systems.
parent e5a3d24b
......@@ -663,13 +663,13 @@ int deserialize_ft_from_fd_into_rbuf(int fd,
__LINE__, \
fn, \
r, \
max_acceptable_lsn.lsn, \
(ulonglong)max_acceptable_lsn.lsn, \
r0, \
checkpoint_lsn_0.lsn, \
checkpoint_count_0, \
(ulonglong)checkpoint_lsn_0.lsn, \
(ulonglong)checkpoint_count_0, \
r1, \
checkpoint_lsn_1.lsn, \
checkpoint_count_1);
(ulonglong)checkpoint_lsn_1.lsn, \
(ulonglong)checkpoint_count_1);
int toku_deserialize_ft_from(int fd,
const char *fn,
......
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