title: Resolving a conversion warning in a compound assignment
body: <p>In my code I have a lot of <code>variable &lt;&lt;= 1;</code> sentences where <code>variable</code> is of type uint16_t. The compiler is spitting a warning saying </p>
  
  <blockquote>
    <p>conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]</p>
  </blockquote>
  
  <p>How can I resolve it? I could use a long-form notation like <code>variable = (uint16_t)(variable &lt;&lt; 1)</code> - but I'd like to keep the short notation. </p>