checkasm: Fix the signature of float_to_fixed24

The len parameter was changed from unsigned int to size_t in
567c67c6c8.

This fixes crashes in the reference C code, when running checkasm
on aarch64.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2023-12-02 15:29:37 +02:00
parent 0a13178de8
commit 12598e72e3
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ static void check_float_to_fixed24(AC3DSPContext *c) {
#define BUF_SIZE 1024 #define BUF_SIZE 1024
LOCAL_ALIGNED_32(float, src, [BUF_SIZE]); LOCAL_ALIGNED_32(float, src, [BUF_SIZE]);
declare_func(void, int32_t *, const float *, unsigned int); declare_func(void, int32_t *, const float *, size_t);
randomize_float(src, BUF_SIZE); randomize_float(src, BUF_SIZE);