Skip to content

Commit

Permalink
Merge pull request codership#65 from codership/gh275
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-galera committed May 28, 2015
2 parents 1fbb473 + 401465c commit 23804d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcache/src/GCache_seqno.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ namespace gcache
seqno_locked = start;

do {
assert (p->first == (start + found));
assert (p->first == int64_t(start + found));
assert (p->second);
v[found].set_ptr(p->second);
}
Expand All @@ -258,7 +258,7 @@ namespace gcache
{
const BufferHeader* const bh (ptr2BH(v[i].ptr()));

assert (bh->seqno_g == (start + i));
assert (bh->seqno_g == int64_t(start + i));
Limits::assert_size(bh->size);

v[i].set_other (bh->seqno_g,
Expand Down

0 comments on commit 23804d0

Please sign in to comment.