fix vs2013 warning
value length and num items are 16 bit values.
Update vs2013 project