aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/tsi/fake_transport_security.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-10-08 14:53:19 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-10-08 14:53:19 -0700
commitb37391ef45c330812d0e5e7a4720253facc8d524 (patch)
tree65c36a4bb2b7a58f99638ace3c5ef518a7dfc043 /src/core/tsi/fake_transport_security.c
parentdd25694733cbb82e7ce42efcedab2ff21bcf6477 (diff)
parent9f06aba55c7c07d21055f3620e48885566f9e47b (diff)
Merge github.com:grpc/grpc into latent-see
Diffstat (limited to 'src/core/tsi/fake_transport_security.c')
-rw-r--r--src/core/tsi/fake_transport_security.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/tsi/fake_transport_security.c b/src/core/tsi/fake_transport_security.c
index cbb6f17ae1..a40268a7f0 100644
--- a/src/core/tsi/fake_transport_security.c
+++ b/src/core/tsi/fake_transport_security.c
@@ -118,10 +118,10 @@ static gpr_uint32 load32_little_endian(const unsigned char *buf) {
}
static void store32_little_endian(gpr_uint32 value, unsigned char *buf) {
- buf[3] = (unsigned char)(value >> 24) & 0xFF;
- buf[2] = (unsigned char)(value >> 16) & 0xFF;
- buf[1] = (unsigned char)(value >> 8) & 0xFF;
- buf[0] = (unsigned char)(value)&0xFF;
+ buf[3] = (unsigned char)((value >> 24) & 0xFF);
+ buf[2] = (unsigned char)((value >> 16) & 0xFF);
+ buf[1] = (unsigned char)((value >> 8) & 0xFF);
+ buf[0] = (unsigned char)((value) & 0xFF);
}
static void tsi_fake_frame_reset(tsi_fake_frame *frame, int needs_draining) {