Skip to content

Commit

Permalink
i think the warning was actually right.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Jan 24, 2024
1 parent 86ca022 commit 82a8ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/crc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static int s_test_known_crc_32(
const uint32_t expected_crc,
const uint32_t expected_residue) {

uint64_t result = func(input, (int)length, 0);
uint32_t result = func(input, (int)length, 0);
ASSERT_HEX_EQUALS(expected_crc, result, "%s(%s)", func_name, data_name);

// Compute the residue of the buffer (the CRC of the buffer plus its CRC) - will always be a constant value
Expand Down

0 comments on commit 82a8ed3

Please sign in to comment.