mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +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
|
||||
rand_float (void)
|
||||
{ return rand () / (0.5f * RAND_MAX) - 1.0f ;
|
||||
{ return rand () / (0.5f * (float) RAND_MAX) - 1.0f ;
|
||||
} /* rand_float */
|
||||
|
||||
static float
|
||||
|
Loading…
Reference in New Issue
Block a user