lib/dcom: use HRESULT in dcom_create_object.
[obnox/samba/samba-obnox.git] / source4 / lib / wmi / wmicore.c
index 762494653618d7eae944426669399022afea472a..dc9fee40b212d9c4c34d7cbfa260629b767ca272 100644 (file)
@@ -57,7 +57,8 @@ WERROR WBEM_ConnectServer(struct com_context *ctx, const char *server, const uin
 {
         struct GUID clsid;
         struct GUID iid;
-        WERROR result, coresult;
+        WERROR result;
+       HRESULT coresult;
         struct IUnknown **mqi;
         struct IWbemLevel1Login *pL;