Commit 293b2f2f authored by Denis Charmet's avatar Denis Charmet

Cast read size to signed before the substraction.

Close #11481
parent 2fdaa107
......@@ -154,7 +154,7 @@ static HRESULT TimeGet( aout_stream_sys_t *sys, mtime_t *delay )
if( hr != DS_OK )
return hr;
size = read - sys->i_last_read;
size = (mtime_t)read - sys->i_last_read;
/* GetCurrentPosition cannot be trusted if the return doesn't change
* Just return an error */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment