Commit aed3fb61 authored by Stefan Huehner's avatar Stefan Huehner Committed by Alexandre Julliard

Fix some sign-compare warnings by choosing correct datatypes.

parent 9b65ffbb
...@@ -90,7 +90,7 @@ const char * getDSBCAPS(DWORD xmask) { ...@@ -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) ...@@ -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 ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment