Skip to content

Commit

Permalink
Either turn off WConversion or quit pushing stuff that won't frickin …
Browse files Browse the repository at this point in the history
…compile./format-check.sh ./format-check.sh (#43)
  • Loading branch information
JonathanHenson authored and Justin Boswell committed May 10, 2019
1 parent e2deb73 commit 1b86b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_websocket_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ ENCODER_TEST_CASE(websocket_encoder_rsv) {
0x89, // fin | rsv1 | rsv2 | rsv3 | 4bit opcode
0x00, // mask | 7bit payload len
};
expected_output[0] |= (uint8_t)(1 << (6 - rsv));
expected_output[0] = (uint8_t)(expected_output[0] | (1 << (6 - (uint8_t)rsv)));

tester.out_buf.len = 0; /* reset output buffer */
ASSERT_SUCCESS(aws_websocket_encoder_start_frame(&tester.encoder, &input_frame));
Expand Down

0 comments on commit 1b86b6c

Please sign in to comment.