Skip to content

Commit

Permalink
fixup: phase2.hpp warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Nov 6, 2020
1 parent 00cfc65 commit 95b58cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phase2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Phase2Results RunPhase2(
new_entry += Bits(entry_offset, kOffsetSize);

uint8_t bytes[20];
assert(entry_size <= sizeof(bytes));
assert(entry_size <= int(sizeof(bytes)));
new_entry.ToBytes(bytes);
disk.Write(read_index * entry_size, bytes, entry_size);
}
Expand Down

0 comments on commit 95b58cd

Please sign in to comment.