Skip to content

Commit

Permalink
fix LLU->ULL
Browse files Browse the repository at this point in the history
LLU is a correct prefix according to C99 & C11 standards (but not C90).
However, older versions of Visual Studio do not work with it.
Replace by ULL, which doesn't have this issue.

Fixes #3647
  • Loading branch information
Cyan4973 committed Mar 4, 2024
1 parent b293d2e commit 2abe8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ static void test_decompressBound(unsigned tnb)
CHECK_EQ( ZSTD_flushStream(cctx, &out), 0 );
}
CHECK_EQ( ZSTD_endStream(cctx, &out), 0 );
CHECK( ZSTD_decompressBound(outBuffer, out.pos) > 0x100000000LLU /* 4 GB */ );
CHECK( ZSTD_decompressBound(outBuffer, out.pos) > 0x100000000ULL /* 4 GB */ );
ZSTD_freeCCtx(cctx);
free(outBuffer);
}
Expand Down

0 comments on commit 2abe8d6

Please sign in to comment.