Diff of /src/etc/cal3dmodel.cpp [67643a] .. [8b9584] Maximize Restore

  Switch to side-by-side view

--- a/src/etc/cal3dmodel.cpp
+++ b/src/etc/cal3dmodel.cpp
@@ -412,7 +412,8 @@
       meshMaterial.shininess = pCalRenderer->getShininess();
 
       /* Set textureID */
-      meshMaterial.textureId = (unsigned long)pCalRenderer->getMapUserData(0);
+      meshMaterial.textureId = (GLuint)
+            (unsigned long)pCalRenderer->getMapUserData(0);
    }
 
    pCalRenderer->endRendering();