Index: /trunk/src/VBox/Main/src-server/MediumImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/MediumImpl.cpp	(revision 61862)
+++ /trunk/src/VBox/Main/src-server/MediumImpl.cpp	(revision 61863)
@@ -5357,5 +5357,5 @@
                  */
                 bool fMergeIntoThis = cbMediumThis > cbMediumOther;
-                fMergeForward = fMergeIntoThis ^ fThisParent;
+                fMergeForward = fMergeIntoThis != fThisParent;
             }
         }
