Skip to content

Commit

Permalink
Fix typo that breaks builds on big-endian (#2632)
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski authored and TeBoring committed Jan 26, 2017
1 parent d1f0939 commit 2c8346a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/google/protobuf/wire_format_lite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,11 @@ void EncodeFixedSizeValue(uint64 v, uint8* dest) {
WireFormatLite::WriteFixed64NoTagToArray(v, dest);
}

void EncodeSFixedSizeValue(int32 v, uint8* dest) {
void EncodeFixedSizeValue(int32 v, uint8* dest) {
WireFormatLite::WriteSFixed32NoTagToArray(v, dest);
}

void EncodeSFixedSizeValue(int64 v, uint8* dest) {
void EncodeFixedSizeValue(int64 v, uint8* dest) {
WireFormatLite::WriteSFixed64NoTagToArray(v, dest);
}

Expand Down

0 comments on commit 2c8346a

Please sign in to comment.