mirror of
https://github.com/reactos/wine.git
synced 2025-02-04 02:56:31 +00:00
Cast the unsigned int to signed, or NEAR_MATCH will not work.
This commit is contained in:
parent
b4b9303e07
commit
bac7be750b
@ -32,7 +32,7 @@
|
||||
DEFAULT_DEBUG_CHANNEL(wave)
|
||||
|
||||
/* Allow 1% deviation for sample rates (some ES137x cards) */
|
||||
#define NEAR_MATCH(rate1,rate2) (((100*(rate1-rate2))/rate1)==0)
|
||||
#define NEAR_MATCH(rate1,rate2) (((100*((int)(rate1)-(int)(rate2)))/(rate1))==0)
|
||||
|
||||
#ifdef HAVE_OSS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user