Skip to content

Commit

Permalink
oh win
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Sep 5, 2024
1 parent 967cda5 commit b07663e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/aws/checksums/private/crc_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <limits.h>

#define large_buffer_apply_impl(Name, T) \
static T aws_large_buffer_apply_##Name( \
static T aws_large_buffer_apply_##Name( \
T (*checksum_fn)(const uint8_t *, int, T), const uint8_t *buffer, size_t length, T previous) { \
T val = previous; \
while (length > INT_MAX) { \
Expand Down
1 change: 1 addition & 0 deletions tests/crc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ AWS_TEST_CASE(test_crc32, s_test_crc32)
static int s_test_large_buffer_crc32(struct aws_allocator *allocator, void *ctx) {
(void)ctx;
#if SIZE_BITS == 32
(void)allocator;
return AWS_OP_SKIP;
#else
const size_t len = 3 * 1024 * 1024 * 1024ULL;
Expand Down

0 comments on commit b07663e

Please sign in to comment.