--- a/branches/Axiom_Upgrade_0.8.0/mvsm/IndexBufferManager.cs
+++ b/branches/Axiom_Upgrade_0.8.0/mvsm/IndexBufferManager.cs
@@ -58,7 +58,7 @@
             indexData.indexBuffer = HardwareBufferManager.Instance.CreateIndexBuffer(
                 IndexType.Size16, bufLength, BufferUsage.StaticWriteOnly);
 
-            IntPtr indexBufferPtr = indexData.indexBuffer.Lock(0, indexData.indexBuffer.Size, BufferLocking.Discard);
+            IntPtr indexBufferPtr = (IntPtr)indexData.indexBuffer.Lock(0, indexData.indexBuffer.Size, BufferLocking.Discard).Ptr;
             int indexCount = 0;
 
             int pos = 0;
@@ -164,7 +164,7 @@
                 indexData.indexBuffer = HardwareBufferManager.Instance.CreateIndexBuffer(
                     IndexType.Size16, bufLength, BufferUsage.StaticWriteOnly);
 
-                IntPtr indexBufferPtr = indexData.indexBuffer.Lock(0, indexData.indexBuffer.Size, BufferLocking.Discard);
+                IntPtr indexBufferPtr = (IntPtr)indexData.indexBuffer.Lock(0, indexData.indexBuffer.Size, BufferLocking.Discard).Ptr;
 
                 int pos = 0;
                 unsafe