Integer casting in big-endian
<p>In a big-endian machine, if I have a <code>long</code> variable and cast it to a <code>char</code>, does the language specification guarantees I will get the least significant bits after the cast?</p>

<p>In other words:</p>

<pre><code>long a = 50;
char b = (char)a;
assert(b == 50); /* Is it true? */
</code></pre>

<p>I know this is true for little-endian machines, but what about big-endian?</p>
