Minor tweak to dlls/d3d8/device.c and dlls/d3d8/device.c
Gerald Pfeifer
gerald at pfeifer.com
Thu Jan 3 15:30:11 CST 2008
Spotted while looking for something else. Just two warnings (with
-Wextra, for example) but still.
Gerald
ChangeLog:
Fix type of loop variable.
Index: dlls/d3d8/device.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d8/device.c,v
retrieving revision 1.241
diff -u -3 -p -r1.241 device.c
--- dlls/d3d8/device.c 3 Jan 2008 12:45:01 -0000 1.241
+++ dlls/d3d8/device.c 3 Jan 2008 21:28:51 -0000
@@ -97,7 +97,7 @@ static ULONG WINAPI IDirect3DDevice8Impl
TRACE("(%p) : ReleaseRef to %d\n", This, ref);
if (ref == 0) {
- int i;
+ unsigned i;
TRACE("Releasing wined3d device %p\n", This->WineD3DDevice);
EnterCriticalSection(&d3d8_cs);
Index: dlls/d3d9/device.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d9/device.c,v
retrieving revision 1.109
diff -u -3 -p -r1.109 device.c
--- dlls/d3d9/device.c 3 Jan 2008 12:45:02 -0000 1.109
+++ dlls/d3d9/device.c 3 Jan 2008 21:28:51 -0000
@@ -61,7 +61,7 @@ static ULONG WINAPI IDirect3DDevice9Impl
TRACE("(%p) : ReleaseRef to %d\n", This, ref);
if (ref == 0) {
- int i;
+ unsigned i;
This->inDestruction = TRUE;
EnterCriticalSection(&d3d9_cs);
More information about the wine-patches
mailing list