diff options
author | Rosen Penev <rosenp@gmail.com> | 2017-01-18 18:45:28 -0800 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2017-01-19 20:45:13 +1100 |
commit | 09b8224804545338b66aa985c0f9eba949e0ede5 (patch) | |
tree | f8fe8d3cd7289d7dd8f73e0eb8eb228239f35039 /src/test_libFLAC++ | |
parent | ada48f59f5e23273785deb3bed173589f1d2db37 (diff) | |
download | flac-09b8224804545338b66aa985c0f9eba949e0ede5.tar.gz |
Fix cppcheck warnings
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'src/test_libFLAC++')
-rw-r--r-- | src/test_libFLAC++/encoders.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test_libFLAC++/encoders.cpp b/src/test_libFLAC++/encoders.cpp index 277e1293..e328a534 100644 --- a/src/test_libFLAC++/encoders.cpp +++ b/src/test_libFLAC++/encoders.cpp @@ -438,7 +438,7 @@ static bool test_stream_encoder(Layer layer, bool is_ogg) printf("testing get_max_lpc_order()... "); if(encoder->get_max_lpc_order() != 0) { - printf("FAILED, expected %u, got %u\n", 0, encoder->get_max_lpc_order()); + printf("FAILED, expected %d, got %u\n", 0, encoder->get_max_lpc_order()); return false; } printf("OK\n"); @@ -471,21 +471,21 @@ static bool test_stream_encoder(Layer layer, bool is_ogg) printf("testing get_min_residual_partition_order()... "); if(encoder->get_min_residual_partition_order() != 0) { - printf("FAILED, expected %u, got %u\n", 0, encoder->get_min_residual_partition_order()); + printf("FAILED, expected %d, got %u\n", 0, encoder->get_min_residual_partition_order()); return false; } printf("OK\n"); printf("testing get_max_residual_partition_order()... "); if(encoder->get_max_residual_partition_order() != 0) { - printf("FAILED, expected %u, got %u\n", 0, encoder->get_max_residual_partition_order()); + printf("FAILED, expected %d, got %u\n", 0, encoder->get_max_residual_partition_order()); return false; } printf("OK\n"); printf("testing get_rice_parameter_search_dist()... "); if(encoder->get_rice_parameter_search_dist() != 0) { - printf("FAILED, expected %u, got %u\n", 0, encoder->get_rice_parameter_search_dist()); + printf("FAILED, expected %d, got %u\n", 0, encoder->get_rice_parameter_search_dist()); return false; } printf("OK\n"); |