mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2025-02-17 01:20:02 +00:00
ci: Fix test failure
This commit is contained in:
parent
e8293c29da
commit
dadf54b91e
@ -51,7 +51,7 @@ generate_file (const char * filename, int format, int len)
|
|||||||
|
|
||||||
static inline float
|
static inline float
|
||||||
rand_float (void)
|
rand_float (void)
|
||||||
{ return rand () / (0.5f * RAND_MAX) - 1.0f ;
|
{ return rand () / (0.5f * (float) RAND_MAX) - 1.0f ;
|
||||||
} /* rand_float */
|
} /* rand_float */
|
||||||
|
|
||||||
static float
|
static float
|
||||||
|
Loading…
x
Reference in New Issue
Block a user