Index: /trunk/src/VBox/Main/include/CaptureSettingsImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/CaptureSettingsImpl.h	(revision 75258)
+++ /trunk/src/VBox/Main/include/CaptureSettingsImpl.h	(revision 75259)
@@ -25,5 +25,5 @@
 namespace settings
 {
-    struct CaptureSettings;
+    class CaptureSettings;
 }
 
Index: /trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp	(revision 75258)
+++ /trunk/src/VBox/Main/src-server/CaptureScreenSettingsImpl.cpp	(revision 75259)
@@ -223,5 +223,5 @@
 
         alock.acquire();
-        m->bd->fEnabled = enabled;
+        m->bd->fEnabled = RT_BOOL(enabled);
         alock.release();
 
@@ -508,5 +508,5 @@
 {
     AutoAnyStateDependency adep(m->pMachine);
-    AssertComRCReturn(adep.rc(), E_UNEXPECTED);
+    AssertComRCReturn(adep.rc(), false);
 
     if (   Global::IsOnline(adep.machineState())
