From a820f6bf5bb7f0e27d00d2388a074e575c6f3319 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Thu, 24 Mar 2016 16:42:27 +0100 Subject: Fix warning in cubeb_resampler.cpp by adding parenthesis. --- src/cubeb_resampler_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cubeb_resampler_internal.h') diff --git a/src/cubeb_resampler_internal.h b/src/cubeb_resampler_internal.h index f451968..6895911 100644 --- a/src/cubeb_resampler_internal.h +++ b/src/cubeb_resampler_internal.h @@ -448,7 +448,7 @@ cubeb_resampler_create_internal(cubeb_stream * stream, std::unique_ptr> input_delay = nullptr; std::unique_ptr> output_delay = nullptr; - assert(input_params || output_params && + assert((input_params || output_params) && "need at least one valid parameter pointer."); /* All the streams we have have a sample rate that matches the target -- cgit v1.2.3