aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_client/tests/window_overflow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/bad_client/tests/window_overflow.cc')
-rw-r--r--test/core/bad_client/tests/window_overflow.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/bad_client/tests/window_overflow.cc b/test/core/bad_client/tests/window_overflow.cc
index fe6b05d03a..7c012ac055 100644
--- a/test/core/bad_client/tests/window_overflow.cc
+++ b/test/core/bad_client/tests/window_overflow.cc
@@ -76,9 +76,9 @@ int main(int argc, char** argv) {
addbuf(PFX_STR, sizeof(PFX_STR) - 1);
for (i = 0; i < NUM_FRAMES; i++) {
- uint8_t hdr[9] = {(uint8_t)(FRAME_SIZE >> 16),
- (uint8_t)(FRAME_SIZE >> 8),
- (uint8_t)FRAME_SIZE,
+ uint8_t hdr[9] = {static_cast<uint8_t>(FRAME_SIZE >> 16),
+ static_cast<uint8_t>(FRAME_SIZE >> 8),
+ static_cast<uint8_t>FRAME_SIZE,
0,
0,
0,