Fix some sign-compare warnings by choosing correct datatypes.

This commit is contained in:
Stefan Huehner 2005-07-15 16:34:04 +00:00 committed by Alexandre Julliard
parent 9b65ffbb36
commit aed3fb612d
3 changed files with 4 additions and 3 deletions

View File

@ -90,7 +90,7 @@ const char * getDSBCAPS(DWORD xmask) {
#undef FE #undef FE
}; };
static char buffer[512]; static char buffer[512];
int i; unsigned int i;
BOOL first = TRUE; BOOL first = TRUE;
buffer[0] = 0; buffer[0] = 0;

View File

@ -527,7 +527,8 @@ static HRESULT test_primary_secondary8(LPGUID lpGuid)
DSBUFFERDESC bufdesc; DSBUFFERDESC bufdesc;
DSCAPS dscaps; DSCAPS dscaps;
WAVEFORMATEX wfx, wfx2; WAVEFORMATEX wfx, wfx2;
int f,ref; int ref;
unsigned int f;
/* Create the DirectSound object */ /* Create the DirectSound object */
rc=pDirectSoundCreate8(lpGuid,&dso,NULL); rc=pDirectSoundCreate8(lpGuid,&dso,NULL);

View File

@ -84,7 +84,7 @@ typedef struct
LFANDSIZE lfsz; LFANDSIZE lfsz;
AA_Type aa_default; AA_Type aa_default;
gsCacheEntryFormat * format[AA_MAXVALUE]; gsCacheEntryFormat * format[AA_MAXVALUE];
UINT count; INT count;
INT next; INT next;
} gsCacheEntry; } gsCacheEntry;