Original Post
Why does the third line of the following snippet generate this warning: warning C4244: '+=' : conversion from 'int' to 'unsigned short', possible loss of data
unsigned short a = 1;
unsigned short b = 2;
a += b;
Edit: changed u16 to unsigned short to clarify typedef [Edited by - rick_appleton on May 27, 2006 2:30:27 PM]