Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
They got noticed after the previous change was being submitted.

PiperOrigin-RevId: 553560211
  • Loading branch information
thomasvl authored and copybara-github committed Aug 3, 2023
1 parent 3c9e763 commit f607b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objectivec/GPBCodedOutputStream.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ @implementation GPBCodedOutputStream {
static const int32_t LITTLE_ENDIAN_32_SIZE = sizeof(uint32_t);
static const int32_t LITTLE_ENDIAN_64_SIZE = sizeof(uint64_t);

// Helper to write bytes to an NSOutputStream looping incase a subset is written in
// Helper to write bytes to an NSOutputStream looping in case a subset is written in
// any of the attempts.
static NSInteger WriteToOutputStream(NSOutputStream *output, uint8_t *bytes, size_t length) {
size_t total = 0;
Expand All @@ -74,7 +74,7 @@ static NSInteger WriteToOutputStream(NSOutputStream *output, uint8_t *bytes, siz
}

if (written > 0) {
// Record the subset written and continue incase it was a partial write.
// Record the subset written and continue in case it was a partial write.
total += written;
length -= written;
bytes += written;
Expand Down

0 comments on commit f607b66

Please sign in to comment.