title: Setting all bits in int64_t
body: <p>From following code I expect to set all bits in x to 1, but somehow only first 32 bits are set:</p>
  
  <pre><code>int64_t x = 0xFFFFFFFF;
  x&lt;&lt;32;
  x|=0xFFFFFFFF;
  </code></pre>
  
  <p>Note: printing x after each line results in 4294967295 (32 lower bits set to 1).
  Also, tried using <code>numeric_limits&lt;int64_t&gt;::min()</code> with no success.
  My question is how to set all bits in x?
  Using RHEL5.5.</p>
  
  <p>Thx</p>