d3dxof: Sign-compare warning fix

Andrew Talbot andrew.talbot at talbotville.com
Mon Jul 28 16:37:29 CDT 2008


Changelog:
    d3dxof: Sign-compare warning fix.

diff --git a/dlls/d3dxof/main.c b/dlls/d3dxof/main.c
index 432109a..84d40e5 100644
--- a/dlls/d3dxof/main.c
+++ b/dlls/d3dxof/main.c
@@ -184,7 +184,7 @@ HRESULT WINAPI DirectXFileCreate(LPDIRECTXFILE* lplpDirectXFile)
  */
 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
 {
-    int i;
+    size_t i;
     IClassFactoryImpl *factory;

     TRACE("(%s,%s,%p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);



More information about the wine-patches mailing list