Commit 4b55f8f5 authored by vysheng's avatar vysheng

fixed CE on 32-bit systems

parent f2c77bdc
...@@ -803,7 +803,7 @@ void add_log_event (const int *data, int len) { ...@@ -803,7 +803,7 @@ void add_log_event (const int *data, int len) {
int *end = in_end; int *end = in_end;
replay_log_event (); replay_log_event ();
if (rptr != wptr) { if (rptr != wptr) {
logprintf ("Unread %ld ints. Len = %d\n", wptr - rptr, len); logprintf ("Unread %lld ints. Len = %d\n", (long long)(wptr - rptr), len);
assert (rptr == wptr); assert (rptr == wptr);
} }
if (binlog_enabled) { if (binlog_enabled) {
......
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