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
};
static char buffer[512];
int i;
unsigned int i;
BOOL first = TRUE;
buffer[0] = 0;

View File

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

View File

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