dsound: Sign-compare warnings fix.

This commit is contained in:
Andrew Talbot 2008-09-30 20:41:08 +01:00 committed by Alexandre Julliard
parent 623ee7775b
commit 3fae4082ef
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;