--- a/branches/Axiom_Upgrade_0.8.0/mvsm/SceneManager.cs
+++ b/branches/Axiom_Upgrade_0.8.0/mvsm/SceneManager.cs
@@ -344,7 +344,8 @@
             targetRenderSystem.AmbientLight = ColorEx.White;
 
             // Iterate through priorities
-            for (int i = 0; i < group.NumPriorityGroups; i++)
+            for (ushort i = 0; i < group.NumPriorityGroups; i++)
+            //for (int i = 0; i < group.NumPriorityGroups; i++)
             {
                 RenderPriorityGroup priorityGroup = group.PriorityGroups[i];