* Sync up to trunk HEAD (r62975).
[reactos.git] / dll / win32 / windowscodecs / info.c
index 22c6282..a020b26 100644 (file)
@@ -1754,7 +1754,7 @@ HRESULT CreateComponentInfo(REFCLSID clsid, IWICComponentInfo **ppIInfo)
     WCHAR guidstring[39];
     LONG res;
     const struct category *category;
-    int found=0;
+    BOOL found = FALSE;
     HRESULT hr;
 
     res = RegOpenKeyExW(HKEY_CLASSES_ROOT, clsid_keyname, 0, KEY_READ, &clsidkey);
@@ -1775,7 +1775,7 @@ HRESULT CreateComponentInfo(REFCLSID clsid, IWICComponentInfo **ppIInfo)
                 if (res == ERROR_SUCCESS)
                 {
                     RegCloseKey(classkey);
-                    found = 1;
+                    found = TRUE;
                 }
                 RegCloseKey(instancekey);
             }