interpret signed as unsigned
<p>I have a value like this:</p>

<pre><code>int64_t s_val = SOME_SIGNED_VALUE;
</code></pre>

<p>How can I get a</p>

<pre><code>uint64_t u_val
</code></pre>

<p>that has exactly the same bit pattern as <code>s_val</code>, but is treated as unsigned?</p>

<p>This may be really simple, but after looking on Stackoverflow and elsewhere I haven't turned up the answer.</p>
