-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio: MFCC: Fix 64 bit build issue #9390
Audio: MFCC: Fix 64 bit build issue #9390
Conversation
33709f1
to
a754a22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be worth splitting into two commits as these are 2 separate issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please submit as two commits
int waiting_fill:1; /**< booleans */ | ||
int prev_samples_valid:1; | ||
bool waiting_fill:1; /**< booleans */ | ||
bool prev_samples_valid:1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's also #9385 that's fixing this bug, and it was submitted a bit earlier, but this commit fixes an additional error. Same comment as there - let's just make both these fields bool
without bit-picking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cujomalainey I think I will drop this from PR and leave it for your PR to address.
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 <[email protected]>
a754a22
to
dcf7a03
Compare
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=]