diff --git a/test/pcmaudio_categorizer_test.cpp b/test/pcmaudio_categorizer_test.cpp index 015111b1..3cc361b8 100644 --- a/test/pcmaudio_categorizer_test.cpp +++ b/test/pcmaudio_categorizer_test.cpp @@ -788,7 +788,7 @@ TEST_F(pcmaudio_error_test_caf, no_error) { } TEST_F(pcmaudio_error_test_caf, no_error_unkown_data_size) { - caff_data_chunk_hdr.size = -1; + caff_data_chunk_hdr.size = std::numeric_limits::max(); auto builder = build_file(); auto frag = categorize(builder);