Initial set of changes to support building with MSVC 2013. Right now there's a bunch fo assumptions in the .vcxproj file and some things are not as clean as they should be, but it does build a full build and works (at least the x86 side). The point of this initial checkpoint is to make sure that nothing breaks on the GCC side, that everyone is ok with the changes to the source (or if better fixes/typing can be done).
diff --git a/utils.c b/utils.c
index 44f12f2..6f2de00 100644
--- a/utils.c
+++ b/utils.c
@@ -26,7 +26,7 @@
 {
 	// NOTE: assume that the max id is always put at the end of insns array
 	unsigned short max_id = insns[size - 1].id;
-	unsigned int i;
+	unsigned short i;
 
 	unsigned short *cache = (unsigned short *)cs_mem_calloc(sizeof(*cache), max_id + 1);