Skip to content

Commit

Permalink
1ul -> 1ULL / Daniel Bigham
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Mar 8, 2016
1 parent c6d954b commit bb59eca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lm/builder/payload.hh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ union BuildingPayload {
}

void Mark() {
count |= (1ul << (sizeof(count) * 8 - 1));
count |= (1ULL << (sizeof(count) * 8 - 1));
}

void Unmark() {
count &= ~(1ul << (sizeof(count) * 8 - 1));
count &= ~(1ULL << (sizeof(count) * 8 - 1));
}

uint64_t UnmarkedCount() const {
return count & ~(1ul << (sizeof(count) * 8 - 1));
return count & ~(1ULL << (sizeof(count) * 8 - 1));
}

uint64_t CutoffCount() const {
Expand Down

0 comments on commit bb59eca

Please sign in to comment.