Index: trunk/src/formats/md2_loader.cc
===================================================================
--- trunk/src/formats/md2_loader.cc	(revision 198)
+++ trunk/src/formats/md2_loader.cc	(revision 200)
@@ -8,5 +8,4 @@
 
 #include <glm/gtc/constants.hpp>
-#include <glm/gtx/string_cast.hpp>
 #include "nv/logging.hh"
 #include <cstring>
Index: trunk/src/formats/md3_loader.cc
===================================================================
--- trunk/src/formats/md3_loader.cc	(revision 198)
+++ trunk/src/formats/md3_loader.cc	(revision 200)
@@ -8,5 +8,4 @@
 
 #include <glm/gtc/constants.hpp>
-#include <glm/gtx/string_cast.hpp>
 #include "nv/logging.hh"
 #include <cstring>
@@ -457,7 +456,7 @@
 	{
 		const md3_surface_t& surface = md3->surfaces[i];
-		const sint32         vcount  = surface.header.num_verts;
+		const uint32         vcount  = static_cast< uint32 >( surface.header.num_verts );
 		t.reserve( t.size() + vcount );
-		for (sint32 j = 0; j < vcount; ++j )
+		for (uint32 j = 0; j < vcount; ++j )
 		{
 			t.push_back( md3_texcoord( surface.st[j] ) );
Index: trunk/src/formats/md5_loader.cc
===================================================================
--- trunk/src/formats/md5_loader.cc	(revision 198)
+++ trunk/src/formats/md5_loader.cc	(revision 200)
@@ -8,5 +8,4 @@
 
 #include <glm/gtc/constants.hpp>
-#include <glm/gtx/string_cast.hpp>
 #include "nv/logging.hh"
 #include "nv/io/std_stream.hh"
@@ -194,5 +193,5 @@
 		vert.tangent  = glm::vec3(0);
 
-		for ( int j = 0; j < vert.weight_count; ++j )
+		for ( size_t j = 0; j < vert.weight_count; ++j )
 		{
 			md5_weight& weight = mesh.weights[vert.start_weight + j];
@@ -246,5 +245,5 @@
 	}
 
-	for ( unsigned int i = 0; i < mesh.verts.size(); ++i )
+	for ( size_t i = 0; i < mesh.verts.size(); ++i )
 	{
 		md5_vertex& vert = mesh.verts[i];
@@ -258,5 +257,5 @@
 		vert.tangent = glm::vec3(0);
 
-		for ( int j = 0; j < vert.weight_count; ++j )
+		for ( size_t j = 0; j < vert.weight_count; ++j )
 		{
 			const md5_weight& weight = mesh.weights[vert.start_weight + j];
@@ -455,6 +454,6 @@
 
 	float frame_num = m_anim_time * (float)m_frame_rate;
-	int frame0 = (int)floorf( frame_num );
-	int frame1 = (int)ceilf( frame_num );
+	size_t frame0 = (size_t)floorf( frame_num );
+	size_t frame1 = (size_t)ceilf( frame_num );
 	frame0 = frame0 % m_num_frames;
 	frame1 = frame1 % m_num_frames;
@@ -489,5 +488,5 @@
 		if ( animated_joint.parent >= 0 ) // Has a parent joint
 		{
-			md5_skeleton_joint& pjoint = skeleton.joints[animated_joint.parent];
+			md5_skeleton_joint& pjoint = skeleton.joints[static_cast< size_t >( animated_joint.parent ) ];
 			glm::vec3 rot_pos = pjoint.orient * animated_joint.pos;
 
@@ -553,5 +552,5 @@
 		tangent = glm::vec3(0);
 
-		for ( int j = 0; j < vert.weight_count; ++j )
+		for ( size_t j = 0; j < vert.weight_count; ++j )
 		{
 			const md5_weight& weight = mesh.weights[vert.start_weight + j];
