Fix some sign-compare warnings by choosing correct datatypes.
This commit is contained in:
parent
9b65ffbb36
commit
aed3fb612d
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue