From 5461304a598952ffdca78f90cef5b6c82475ec4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lluc=20Sim=C3=B3?= Date: Wed, 26 Feb 2025 23:50:54 +0100 Subject: [PATCH] [ci] avoid rubberband warning in major version 3 --- src/effects/rubberband_utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/effects/rubberband_utils.c b/src/effects/rubberband_utils.c index 6e904c41..c11426cd 100644 --- a/src/effects/rubberband_utils.c +++ b/src/effects/rubberband_utils.c @@ -6,9 +6,9 @@ #include -// check rubberband is 1.8.1, warn if 1.3 -#if !((RUBBERBAND_API_MAJOR_VERSION >= 2) && \ - (RUBBERBAND_API_MINOR_VERSION >= 5)) +// check rubberband is greater than 1.8.1, warn if 1.3 +#if !((RUBBERBAND_API_MAJOR_VERSION > 2) || \ + ((RUBBERBAND_API_MAJOR_VERSION == 2) && (RUBBERBAND_API_MINOR_VERSION >= 5))) #warning RubberBandOptionDetectorSoft not available, \ please upgrade rubberband to version 1.8.1 or higher #define RubberBandOptionDetectorSoft 0x00000000 -- 2.11.0