From e557fcaf8197e992def6b544e22a134e252b9384 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 25 Jan 2017 17:04:56 -0700 Subject: [PATCH] Fix typo that breaks builds on big-endian --- src/google/protobuf/wire_format_lite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/protobuf/wire_format_lite.cc b/src/google/protobuf/wire_format_lite.cc index ebc29f1fdb4b..e46ac40010b3 100644 --- a/src/google/protobuf/wire_format_lite.cc +++ b/src/google/protobuf/wire_format_lite.cc @@ -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); }