* Fixed bug in Thumb2 pop caused by me incorrectly assuming that
ARM_SP == 13, ARM_LR == 14, and ARM_PC == 15, which is not the case
* updated CMakeLists to include building arm regression test
* added explicit casts for 64 bit visual studio 2012 build to get around
truncation warnings from size_t conversion
diff --git a/cs.c b/cs.c
index 320768d..ea5e325 100644
--- a/cs.c
+++ b/cs.c
@@ -437,7 +437,7 @@
#ifdef CAPSTONE_USE_SYS_DYN_MEM
if (count > 0 && count <= INSN_CACHE_SIZE)
- cache_size = count;
+ cache_size = (unsigned int) count;
#endif
// save the original offset for SKIPDATA