dsound: signed fixes
Stefan Huehner
stefan at huehner.org
Fri Jul 15 10:11:09 CDT 2005
Hi,
ChangeLog:
- fix some sign-compare warnings by choosing correct datatypes
Regards,
Stefan
-------------- next part --------------
Index: dlls/dsound/tests/ds3d.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/tests/ds3d.c,v
retrieving revision 1.26
diff -u -p -r1.26 ds3d.c
--- dlls/dsound/tests/ds3d.c 15 Jul 2005 09:58:36 -0000 1.26
+++ dlls/dsound/tests/ds3d.c 15 Jul 2005 15:02:44 -0000
@@ -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;
Index: dlls/dsound/tests/dsound8.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/tests/dsound8.c,v
retrieving revision 1.24
diff -u -p -r1.24 dsound8.c
--- dlls/dsound/tests/dsound8.c 20 Jun 2005 14:18:04 -0000 1.24
+++ dlls/dsound/tests/dsound8.c 15 Jul 2005 15:02:44 -0000
@@ -527,7 +527,8 @@ static HRESULT test_primary_secondary8(L
DSBUFFERDESC bufdesc;
DSCAPS dscaps;
WAVEFORMATEX wfx, wfx2;
- int f,ref;
+ int ref;
+ unsigned int f;
/* Create the DirectSound object */
rc=pDirectSoundCreate8(lpGuid,&dso,NULL);
More information about the wine-patches
mailing list