Skip to content

Commit

Permalink
==0 -> <=0
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanoltman committed Jan 16, 2024
1 parent e4e2d13 commit b66a5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/common/shorebird/snapshots_data_handle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ uintptr_t SnapshotsDataHandle::Read(uint8_t* buffer, uintptr_t length) {
}
intptr_t remaining_blob_length =
blobs_[current_index_.blob]->GetSize() - current_index_.offset;
if (remaining_blob_length == 0) {
if (remaining_blob_length <= 0) {
// We have read all bytes in this blob.
current_index_.blob++;
current_index_.offset = 0;
Expand Down

0 comments on commit b66a5f9

Please sign in to comment.