Audio: MFCC: Fix 64 bit build issue

The comp_err() trace in mfcc_init() causes an error:

sof/src/audio/mfcc/mfcc.c: In function 'mfcc_init':
sof/src/include/sof/audio/component.h:160:20:
  error: format '%u' expects argument of type 'unsigned int',
  but argument 4 has type 'size_t' {aka 'long unsigned int'}
  [-Werror=format=]

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2024-08-22 11:02:57 +03:00 committed by Kai Vehmanen
parent 8090624c56
commit 66da07cd6a
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static int mfcc_init(struct processing_module *mod)
/* Check first that configuration blob size is sane */
if (bs > SOF_MFCC_CONFIG_MAX_SIZE) {
comp_err(dev, "mfcc_init() error: configuration blob size %u exceeds %d",
comp_err(dev, "mfcc_init() error: configuration blob size %zu exceeds %d",
bs, SOF_MFCC_CONFIG_MAX_SIZE);
return -EINVAL;
}