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:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user