mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 15:14:09 +00:00
wineoss.drv: Avoid potential overflow (Coverity).
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7bb885a3d3
commit
b2caf7513a
|
@ -1203,7 +1203,7 @@ static HRESULT WINAPI AudioClient_GetStreamLatency(IAudioClient *iface,
|
|||
|
||||
/* pretend we process audio in Period chunks, so max latency includes
|
||||
* the period time. Some native machines add .6666ms in shared mode. */
|
||||
*latency = This->period_us * 10 + 6666;
|
||||
*latency = (REFERENCE_TIME)This->period_us * 10 + 6666;
|
||||
|
||||
LeaveCriticalSection(&This->lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue