dsound: Sign-compare warnings fix.
This commit is contained in:
parent
623ee7775b
commit
3fae4082ef
|
@ -386,7 +386,7 @@ DirectSoundCaptureEnumerateW(
|
|||
|
||||
static void capture_CheckNotify(IDirectSoundCaptureBufferImpl *This, DWORD from, DWORD len)
|
||||
{
|
||||
unsigned i;
|
||||
int i;
|
||||
for (i = 0; i < This->nrofnotifies; ++i) {
|
||||
LPDSBPOSITIONNOTIFY event = This->notifies + i;
|
||||
DWORD offset = event->dwOffset;
|
||||
|
|
|
@ -324,7 +324,8 @@ static inline DWORD DSOUND_BufPtrDiff(DWORD buflen, DWORD ptr1, DWORD ptr2)
|
|||
*/
|
||||
void DSOUND_MixToTemporary(const IDirectSoundBufferImpl *dsb, DWORD writepos, DWORD len, BOOL inmixer)
|
||||
{
|
||||
INT i, size;
|
||||
DWORD i;
|
||||
INT size;
|
||||
BYTE *ibp, *obp, *obp_begin;
|
||||
INT iAdvance = dsb->pwfx->nBlockAlign;
|
||||
INT oAdvance = dsb->device->pwfx->nBlockAlign;
|
||||
|
|
Loading…
Reference in New Issue