title: warning : 'integer conversion results in truncation'
body: <p>I get an warning here. The warning says 'integer conversion results in truncation'. It persists even if I remove the typecast(U16).</p>
  
  <pre><code>typedef unsigned short  U16;
  U16 mask;
  mask = ~(U16)(0x8000);
  </code></pre>
  
  <p>How do I resolve this warning? I used the below code and removed the warning, but unsure if its the right way to do it.</p>
  
  <pre><code>mask = (U16)(~(U32)(0x8000));
  </code></pre>
  
  <p>Thanks in advance!</p>