From cdf6e528a9f06a74b8dcfa0f379a2481f7886eb9 Mon Sep 17 00:00:00 2001 From: Curtis Malainey Date: Wed, 21 Aug 2024 11:35:50 -0700 Subject: [PATCH] audio: mfcc: fix signed 1-bit field Sparse complained about this since signed fields should be >=2 bits minimum. Signed-off-by: Curtis Malainey --- src/include/sof/audio/mfcc/mfcc_comp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/sof/audio/mfcc/mfcc_comp.h b/src/include/sof/audio/mfcc/mfcc_comp.h index ee8d9e5e4bbd..bbc01030e157 100644 --- a/src/include/sof/audio/mfcc/mfcc_comp.h +++ b/src/include/sof/audio/mfcc/mfcc_comp.h @@ -125,8 +125,8 @@ struct mfcc_state { int low_freq; int high_freq; int sample_rate; - int waiting_fill:1; /**< booleans */ - int prev_samples_valid:1; + bool waiting_fill; /**< booleans */ + bool prev_samples_valid; size_t sample_buffers_size; /**< bytes */ };