From 9c3ac008bbce2a5af2cfe78087107e5fd4a97c9b Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sun, 20 Oct 2024 00:50:26 +0200 Subject: [PATCH] test: don't init uint64_t with -1 --- test/pcmaudio_categorizer_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);