Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesnicholson committed Dec 30, 2023
1 parent 50f7a8d commit 3271e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cobs_decode_inc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ TEST_CASE("cobs_decode_inc") {

REQUIRE(cobs_encode(dec.data(), dec_len, enc.data(), enc.size(), &enc_len) ==
COBS_RET_SUCCESS);
std::fill(dec.begin(), dec.end(), 0);
std::fill(dec.begin(), dec.end(), byte_t{ 0u });
REQUIRE(enc_len >= dec_len);
REQUIRE(enc_len <= COBS_ENCODE_MAX(dec_len));

Expand Down

0 comments on commit 3271e9a

Please sign in to comment.