Index: /trunk/src/VBox/Main/ApplianceImplImport.cpp
===================================================================
--- /trunk/src/VBox/Main/ApplianceImplImport.cpp	(revision 33698)
+++ /trunk/src/VBox/Main/ApplianceImplImport.cpp	(revision 33699)
@@ -2117,5 +2117,5 @@
     // In OVF (at least VMware's version of it), an IDE controller has two ports, so VirtualBox's single IDE controller
     // with two channels and two ports each counts as two OVF IDE controllers -- so we accept one or two such IDE controllers
-    uint32_t cIDEControllers = vsdeHDCIDE.size();
+    size_t cIDEControllers = vsdeHDCIDE.size();
     if (cIDEControllers > 2)
         throw setError(VBOX_E_FILE_ERROR,
@@ -2508,5 +2508,5 @@
     {
         config.hardwareMachine.audioAdapter.fEnabled = true;
-        config.hardwareMachine.audioAdapter.controllerType = stack.strAudioAdapter.toUInt32();
+        config.hardwareMachine.audioAdapter.controllerType = (AudioControllerType_T)stack.strAudioAdapter.toUInt32();
     }
     else
@@ -2544,5 +2544,5 @@
                     {
                         it1->fEnabled = true;
-                        it1->type = vsdeNW->strVboxCurrent.toUInt32();
+                        it1->type = (NetworkAdapterType_T)vsdeNW->strVboxCurrent.toUInt32();
                         break;
                     }
@@ -2801,5 +2801,5 @@
         if (vsdeRAM.size() != 1)
             throw setError(VBOX_E_FILE_ERROR, tr("RAM size missing"));
-        stack.ulMemorySizeMB = vsdeRAM.front()->strVboxCurrent.toUInt64();
+        stack.ulMemorySizeMB = (ULONG)vsdeRAM.front()->strVboxCurrent.toUInt64();
 
 #ifdef VBOX_WITH_USB
