aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrion Poplawski <orion@cora.nwra.com>2017-01-26 15:14:34 -0700
committerPaul Yang <TeBoring@users.noreply.github.com>2017-01-26 14:14:34 -0800
commit2c8346a259791ccb176da80e31e59f1df479bd6d (patch)
tree7496d09f11ad739b3b7d90ddf06178d1a4084131
parentd1f0939a42ae8a6b6bca95a4b9048d7416e72865 (diff)
downloadprotobuf-2c8346a259791ccb176da80e31e59f1df479bd6d.tar.gz
protobuf-2c8346a259791ccb176da80e31e59f1df479bd6d.tar.bz2
protobuf-2c8346a259791ccb176da80e31e59f1df479bd6d.zip
Fix typo that breaks builds on big-endian (#2632)
-rw-r--r--src/google/protobuf/wire_format_lite.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/wire_format_lite.cc b/src/google/protobuf/wire_format_lite.cc
index ebc29f1f..e46ac400 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);
}