Added casts to unsigned long to some log messages.

This commit is contained in:
Markus Makela
2015-04-08 10:54:42 +03:00
parent bd68121cc0
commit d490c2c509
2 changed files with 6 additions and 6 deletions

View File

@ -1356,7 +1356,7 @@ int action;
"Slave %d is ahead of expected position %s@%d. "
"Expected position %d",
slave->serverid, slave->binlogfile,
slave->binlog_pos,
(unsigned long)slave->binlog_pos,
hdr->next_pos - hdr->event_size)));
spinlock_acquire(&slave->catch_lock);
slave->cstate &= ~(CS_UPTODATE|CS_BUSY);