title: Warning - Integer operation result is out of range in c
body: <p>I'm using RVCT compiler to compile this code in C (relevant section here):</p>
  
  <pre><code>static void Test (void)
  {
       unsigned long regVal;
       regVal |= (UINT32)(    (0x1 &lt;&lt; 31)     |
                              (0x1 &lt;&lt; 26)     |
                               0x3E);
  }
  </code></pre>
  
  <p>When compiling the code, I receive the following warning Warning:
  " #61-D: integer operation result is  out of range".</p>
  
  <p>I would like to understand what to change in order to avoid the warning.</p>
  
  <p>Thank you in advance! </p>