Skip to content

Commit

Permalink
Fix cross platform compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
guhetier committed Feb 5, 2025
1 parent 288ad7a commit 180d008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/lib/DataTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4590,7 +4590,7 @@ QuicTestStreamAppProvidedBuffers(
// Create send and receive buffers
const uint32_t BufferSize = 0x5000;
uint8_t SendDataBuffer[BufferSize] = {};
for (int i = 0; i < BufferSize; ++i) {
for (auto i = 0u; i < BufferSize; ++i) {
SendDataBuffer[i] = static_cast<uint8_t>(i);
}
uint8_t ReceiveDataBuffer[BufferSize] = {};
Expand Down Expand Up @@ -4662,7 +4662,7 @@ QuicTestStreamAppProvidedBuffers(
// Create send and receive buffers
const uint32_t BufferSize = 0x5000;
uint8_t SendDataBuffer[BufferSize] = {};
for (int i = 0; i < BufferSize; ++i) {
for (auto i = 0u; i < BufferSize; ++i) {
SendDataBuffer[i] = static_cast<uint8_t>(i);
}

Expand Down

0 comments on commit 180d008

Please sign in to comment.