I haven't looked at the spec to see what exactly
causes the bytes to get promoted to ints, but they
do.  It's probably the fact that a literal number is
interpreted as an int, not a byte, so byteval << intval
causes the byte to be promoted to an int.

Actually, I believe the << operator promotes each of its operands to ints.


--
Ray tracing rules: http://ray-tracer.blogspot.com

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to